]> jfr.im git - z_archive/twitter.git/blobdiff - twitter/cmdline.py
twitterbot oauth in progress
[z_archive/twitter.git] / twitter / cmdline.py
index 980b754ba937c4a1716c034440563b36dbb8502e..e7a73cb3e856446de7ba3486d4da01b6e6445f7c 100644 (file)
@@ -447,15 +447,6 @@ class DoNothingAction(Action):
     def __call__(self, twitter, options):
         pass
 
-def parse_oauth_tokens(result):
-    for r in result.split('&'):
-        k, v = r.split('=')
-        if k == 'oauth_token':
-            oauth_token = v
-        elif k == 'oauth_token_secret':
-            oauth_token_secret = v
-    return oauth_token, oauth_token_secret
-
 actions = {
     'authorize' : DoNothingAction,
     'follow'    : FollowAction,