Clean up OAuthHandler variables
authorAaron Hill <aa1ronham@gmail.com>
Sat, 22 Feb 2014 04:14:08 +0000 (23:14 -0500)
committerAaron Hill <aa1ronham@gmail.com>
Sun, 27 Apr 2014 02:03:11 +0000 (22:03 -0400)
tweepy/auth.py

index 34a488dda46e4da92da3f523c5e226d3ec21467d..439a6900e52c73109d294b062d2ae8696161742b 100644 (file)
@@ -35,10 +35,10 @@ class OAuthHandler(AuthHandler):
         if type(consumer_secret) == unicode:
             consumer_secret = bytes(consumer_secret)
 
-        self._consumer = oauth.OAuthConsumer(consumer_key, consumer_secret)
-        self._sigmethod = oauth.OAuthSignatureMethod_HMAC_SHA1()
-        self.request_token = None
+        self.consumer_key = consumer_key
+        self.consumer_secret = consumer_secret
         self.access_token = None
+        self.access_token_secret = None
         self.callback = callback
         self.username = None
         self.secure = secure