Merge lp:~robru/gwibber/foursquare-fixup into lp:~barry/gwibber/py3

Proposed by Robert Bruce Park
Status: Merged
Merged at revision: 1441
Proposed branch: lp:~robru/gwibber/foursquare-fixup
Merge into: lp:~barry/gwibber/py3
Diff against target: 15 lines (+2/-2)
1 file modified
gwibber/gwibber/protocols/foursquare.py (+2/-2)
To merge this branch: bzr merge lp:~robru/gwibber/foursquare-fixup
Reviewer Review Type Date Requested Status
Barry Warsaw Pending
Review via email: mp+125819@code.launchpad.net

Description of the change

Oooh, here's a tough one for you!

To post a comment you must log in.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'gwibber/gwibber/protocols/foursquare.py'
2--- gwibber/gwibber/protocols/foursquare.py 2012-09-21 18:03:01 +0000
3+++ gwibber/gwibber/protocols/foursquare.py 2012-09-21 21:41:20 +0000
4@@ -103,9 +103,9 @@
5 user = checkin.get('user', {})
6 avatar = user.get('photo', {})
7 avatar_url = '{prefix}100x100{suffix}'.format(**avatar)
8- checkin_id = checkin.get('id')
9+ checkin_id = checkin.get('id', '')
10 tz_offset = checkin.get('timeZoneOffset', 0)
11- epoch = checkin.get('createdAt')
12+ epoch = checkin.get('createdAt', 0)
13 self._publish(
14 account_id=self._account.id,
15 message_id=checkin_id,

Subscribers

People subscribed via source and target branches