Added Verified Account label to verified accounts

This commit is contained in:
Anna 2010-04-16 17:32:17 -04:00
parent d47b12124f
commit 6bde20333f
4 changed files with 75 additions and 3 deletions

View file

@ -0,0 +1,28 @@
diff -r 51ac454d5d89 twitter.py
--- a/twitter.py Thu Dec 31 15:06:42 2009 -0500
+++ b/twitter.py Fri Apr 16 17:30:32 2010 -0400
@@ -221,6 +221,7 @@
_CopyProperty(data, user, 'profile_link_color', 'profile.link_color')
_CopyProperty(data, user, 'profile_text_color', 'profile.text_color')
_CopyProperty(data, user, 'protected')
+ _CopyProperty(data, user, 'verified')
_CopyProperty(data, user, 'utc_offset')
_CopyProperty(data, user, 'time_zone')
_CopyProperty(data, user, 'url')
diff -r 51ac454d5d89 twitter_pb2.py
--- a/twitter_pb2.py Thu Dec 31 15:06:42 2009 -0500
+++ b/twitter_pb2.py Fri Apr 16 17:30:32 2010 -0400
@@ -253,6 +253,13 @@
message_type=None, enum_type=None, containing_type=None,
is_extension=False, extension_scope=None,
options=None),
+ descriptor.FieldDescriptor(
+ name='verified', full_name='twitter.User.verified', index=18,
+ number=19, type=8, cpp_type=7, label=1,
+ default_value=False,
+ message_type=None, enum_type=None, containing_type=None,
+ is_extension=False, extension_scope=None,
+ options=None),
],
extensions=[
],