Skip to content
This repository was archived by the owner on Aug 7, 2024. It is now read-only.

Commit 98a943f

Browse files
committed
fix codestyle
1 parent c818d1f commit 98a943f

1 file changed

Lines changed: 4 additions & 3 deletions

File tree

twitter/api.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2628,7 +2628,8 @@ def _GetFriendsFollowers(self,
26282628
if cursor is not None or count is not None:
26292629
warnings.warn(
26302630
"Use of 'cursor' and 'count' parameters are deprecated as of "
2631-
"python-twitter 3.0. Please use GetFriendsPaged instead.",
2631+
"python-twitter 3.0. Please use GetFriendsPaged or "
2632+
"GetFollowersPaged instead.",
26322633
PythonTwitterDeprecationWarning330)
26332634

26342635
count = 200
@@ -4337,8 +4338,8 @@ def UpdateBackgroundImage(self,
43374338

43384339
warnings.warn((
43394340
"This method has been deprecated by Twitter as of July 2015 and "
4340-
"will be removed in future versions of python-twitter."
4341-
), PythonTwitterDeprecationWarning330)
4341+
"will be removed in future versions of python-twitter."),
4342+
PythonTwitterDeprecationWarning330)
43424343
url = '%s/account/update_profile_background_image.json' % (self.base_url)
43434344
with open(image, 'rb') as image_file:
43444345
encoded_image = base64.b64encode(image_file.read())

0 commit comments

Comments
 (0)