diff options
Diffstat (limited to 'examples/list_people.py')
-rwxr-xr-x | examples/list_people.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/list_people.py b/examples/list_people.py index e0658493..755de901 100755 --- a/examples/list_people.py +++ b/examples/list_people.py @@ -7,7 +7,7 @@ import sys # Iterates though all people in the AddressBook and prints info about them. def ListPeople(address_book): - for person in address_book.persons: + for person in address_book.people: print "Person ID:", person.id print " Name:", person.name if person.email != "": |