projects
/
tweepy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37129ca
)
Return access token when calling get_access_token()
author
Josh Roesslein
<jroesslein@gmail.com>
Mon, 10 Aug 2009 18:12:57 +0000
(13:12 -0500)
committer
Josh Roesslein
<jroesslein@gmail.com>
Mon, 10 Aug 2009 18:12:57 +0000
(13:12 -0500)
tweepy/auth.py
patch
|
blob
|
blame
|
history
diff --git
a/tweepy/auth.py
b/tweepy/auth.py
index 63ce3514b6042994a167fcd6ae8f23fb388524b5..4da0ce46b98dd8687ce937ca4d1b52c782bdc8ff 100644
(file)
--- a/
tweepy/auth.py
+++ b/
tweepy/auth.py
@@
-81,6
+81,7
@@
class OAuthHandler(AuthHandler):
# send request
resp = urlopen(Request(self.ACCESS_TOKEN_URL, headers=request.to_header()))
self.access_token = oauth.OAuthToken.from_string(resp.read())
+ return self.access_token
except Exception, e:
raise TweepError(e)