From: Aaron Hill Date: Sat, 22 Feb 2014 04:14:08 +0000 (-0500) Subject: Clean up OAuthHandler variables X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=814b5a6a6f9a65ad40b7400774b486a230b7fb4c;p=tweepy.git Clean up OAuthHandler variables --- diff --git a/tweepy/auth.py b/tweepy/auth.py index 34a488d..439a690 100644 --- a/tweepy/auth.py +++ b/tweepy/auth.py @@ -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