mirror of
https://github.com/postgres/pgweb.git
synced 2025-08-05 18:34:52 +00:00
Remove unused code causing warnings
This commit is contained in:
@ -142,7 +142,7 @@ def auth_receive(request):
|
||||
s = decryptor.decrypt(base64.b64decode(datas, "-_")).rstrip(' ')
|
||||
try:
|
||||
rdata = urlparse.parse_qs(s, strict_parsing=True)
|
||||
except ValueError, e:
|
||||
except ValueError:
|
||||
raise Exception("Invalid encrypted data received.")
|
||||
if rdata.has_key('r'):
|
||||
# Redirect address
|
||||
|
Reference in New Issue
Block a user