Currently, the python example program list_people.py has a slightly
different output than the others, so you can't use it to test that all
languages give the same output.

The following patch removes extra spaces before the phone number:

Index: list_people.py
===================================================================
--- list_people.py      (revision 64)
+++ list_people.py      (working copy)
@@ -15,11 +15,11 @@
 
     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


regards,
iustin

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to