]> git.parisson.com Git - django-social-auth.git/commitdiff
Removed unneeded var
authorMatías Aguirre <matiasaguirre@gmail.com>
Tue, 15 Mar 2011 23:49:20 +0000 (20:49 -0300)
committerMatías Aguirre <matiasaguirre@gmail.com>
Tue, 15 Mar 2011 23:49:20 +0000 (20:49 -0300)
social_auth/backends/google.py

index 82121e6aa59d7b7a8ba394002efab8e091331eda..9210f5483b0b6f38ef14e001d9c1d20e29cf8d51 100644 (file)
@@ -167,7 +167,7 @@ def googleapis_email(url, params):
     request = Request(url + '?' + params, headers={'Authorization': params})
     try:
         return simplejson.loads(urlopen(request).read())['data']
-    except (simplejson.JSONDecodeError, KeyError, IOError), e:
+    except (simplejson.JSONDecodeError, KeyError, IOError):
         return None