Commits

Bill Bumgarner  committed 626728e

Fixed bug in addressbook.py. It was using the properties() class method invoked through an instance reference. While this used to work, it was broken and fixing PyObjC broke the addressbook.py script.

  • Participants
  • Parent commits 275401b

Comments (0)

Files changed (1)

File pyobjc/Examples/addressbook.py

 """
     sys.exit(1)
 
-propNames = me.properties()
+propNames = AddressBook.ABPerson.properties()
 d = {}
 for i in propNames:
     d[i] = me.valueForProperty_(i)