Imported some fixes to oauthtwitter from its issue tracker

This commit is contained in:
Anna
2010-05-21 11:10:58 -04:00
parent 5768f0e91c
commit 69cba102d3
3 changed files with 40 additions and 27 deletions

View File

@ -263,7 +263,8 @@ class GetUserLists(ApiThread):
try:
with self.api.lock:
lists = self.api.GetUserLists()
except (HTTPError, URLError):
except (HTTPError, URLError) as exception:
print 'debug: GetUserLists had error: ' + str(exception.code)
done = False
self.sig_proxy.emit('lists-ready', lists, None)