diff options
author | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-10-07 02:38:12 +0000 |
---|---|---|
committer | kenton@google.com <kenton@google.com@630680e5-0e50-0410-840e-4b1c322b438d> | 2008-10-07 02:38:12 +0000 |
commit | 16b31d2a94ae3b092865cf8ef3a7b83b1bd4fb50 (patch) | |
tree | 49c11cd987f7f07ed7fbe35042b314d20f5c6fb8 /examples | |
parent | a41a9dd532c2723c5d7c379a299a7cd403ac8775 (diff) | |
download | protobuf-16b31d2a94ae3b092865cf8ef3a7b83b1bd4fb50.tar.gz protobuf-16b31d2a94ae3b092865cf8ef3a7b83b1bd4fb50.tar.bz2 protobuf-16b31d2a94ae3b092865cf8ef3a7b83b1bd4fb50.zip |
Make Python example output identical to C++ and Java by removing redundant
spaces.
Diffstat (limited to 'examples')
-rwxr-xr-x | examples/list_people.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/list_people.py b/examples/list_people.py index 76f4bf1e..f9f36b96 100755 --- a/examples/list_people.py +++ b/examples/list_people.py @@ -15,11 +15,11 @@ def ListPeople(address_book): for phone_number in person.phone: if phone_number.type == addressbook_pb2.Person.MOBILE: - print " Mobile phone #: ", + print " Mobile phone #:", elif phone_number.type == addressbook_pb2.Person.HOME: - print " Home phone #: ", + print " Home phone #:", elif phone_number.type == addressbook_pb2.Person.WORK: - print " Work phone #: ", + print " Work phone #:", print phone_number.number # Main procedure: Reads the entire address book from a file and prints all |