Remove unused variables

This commit is contained in:
Magnus Hagander
2015-04-21 14:36:54 +02:00
parent c191092afb
commit d15abdc301

View File

@ -95,7 +95,7 @@ def auth_receive(request):
# Now un-urlencode it # Now un-urlencode it
try: try:
data = urlparse.parse_qs(s, strict_parsing=True) data = urlparse.parse_qs(s, strict_parsing=True)
except ValueError, e: except ValueError:
raise Exception("Invalid encrypted data received.") raise Exception("Invalid encrypted data received.")
# Check the timestamp in the authentication # Check the timestamp in the authentication
@ -118,7 +118,7 @@ def auth_receive(request):
changed= True changed= True
if changed: if changed:
user.save() user.save()
except User.DoesNotExist, e: except User.DoesNotExist:
# User not found, create it! # User not found, create it!
# NOTE! We have some legacy users where there is a user in # NOTE! We have some legacy users where there is a user in