[Merge] lp:~kai-mast/friends/fix-retweets into lp:friends

Robert Bruce Park robert.park at canonical.com
Fri Dec 6 21:23:07 UTC 2013


Still better to just have "shared_status = tweet.get('retweeted_status', {}).get('text', '')" and then you can say "if shared_status: message = 'RT ' + message" or something. Testing a dict before pulling a value from a dict is really bad form in python.
-- 
https://code.launchpad.net/~kai-mast/friends/fix-retweets/+merge/198019
Your team Super Friends is subscribed to branch lp:friends.



More information about the Ubuntu-reviews mailing list