aboutsummaryrefslogtreecommitdiff
path: root/examples/list_people.py
diff options
context:
space:
mode:
authorJan Tattermusch <jtattermusch@google.com>2015-07-20 15:24:08 -0700
committerJan Tattermusch <jtattermusch@google.com>2015-07-20 15:24:08 -0700
commitb0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a (patch)
tree264a596dcc4d8fe77613720934f111257a349981 /examples/list_people.py
parent359d32d4f711b7f8f774a1ceaa3ad55aa13167cf (diff)
downloadprotobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.tar.gz
protobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.tar.bz2
protobuf-b0e5ba697eb281b4ea9e53e1dc9f5ebeccf28f9a.zip
rename persons to people
Diffstat (limited to 'examples/list_people.py')
-rwxr-xr-xexamples/list_people.py2
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 != "":