X Tutup
Skip to content

Commit 5e6dc63

Browse files
committed
2013-02-10
bumped version to 0.8.6 update requirements.txt to remove distribute reference github commit 3b9214a Merge pull request bear#33 from iElectric/profile_image_url_https github commit 67cbb83 patch by iElectric on github Change User.NewFromJsonDict so that it will pull from either profile_image_url_https or profile_image_url to keep older code working properly if they have stored older json data
1 parent 3b9214a commit 5e6dc63

File tree

3 files changed

+17
-3
lines changed

3 files changed

+17
-3
lines changed

CHANGES

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,17 @@
1+
2013-02-10
2+
bumped version to 0.8.6
3+
4+
update requirements.txt to remove distribute reference
5+
github commit 3b9214a879e5fbd03036a7d4ae86babc03784846
6+
7+
Merge pull request #33 from iElectric/profile_image_url_https
8+
github commit 67cbb8390701c945a48094795474ca485f092049
9+
patch by iElectric on github
10+
11+
Change User.NewFromJsonDict so that it will pull from either
12+
profile_image_url_https or profile_image_url to keep older code
13+
working properly if they have stored older json data
14+
115
2013-02-07
216
bumped version to 0.8.5
317
lots of changes have been happening on Github and i've been

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'''The setup and build script for the python-twitter library.'''
1818

1919
__author__ = 'python-twitter@googlegroups.com'
20-
__version__ = '0.8.5'
20+
__version__ = '0.8.6'
2121

2222

2323
# The base package metadata to be used by both distutils and setuptools

twitter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
'''A library that provides a Python interface to the Twitter API'''
1818

1919
__author__ = 'python-twitter@googlegroups.com'
20-
__version__ = '0.8.5'
20+
__version__ = '0.8.6'
2121

2222

2323
import calendar
@@ -1356,7 +1356,7 @@ def NewFromJsonDict(data):
13561356
followers_count=data.get('followers_count', None),
13571357
favourites_count=data.get('favourites_count', None),
13581358
friends_count=data.get('friends_count', None),
1359-
profile_image_url=data.get('profile_image_url_https', None),
1359+
profile_image_url=data.get('profile_image_url_https', data.get('profile_image_url', None)),
13601360
profile_background_tile = data.get('profile_background_tile', None),
13611361
profile_background_image_url = data.get('profile_background_image_url', None),
13621362
profile_sidebar_fill_color = data.get('profile_sidebar_fill_color', None),

0 commit comments

Comments
 (0)
X Tutup