mirror of
https://pagure.io/fedora-infra/ansible.git
synced 2026-04-29 21:10:20 +08:00
ipsilon: I guess I decided that my blood pressure wasn't high enough today and I needed to fiddle with py2->py3 code
Signed-off-by: Rick Elrod <relrod@redhat.com>
This commit is contained in:
committed by
Pierre-Yves Chibon
parent
49d3ab1513
commit
e2b22ecc20
@@ -63,7 +63,7 @@ class APIV1Page(Page):
|
||||
openid_request = None
|
||||
try:
|
||||
openid_request = openid.cfg.server.decodeRequest(arguments)
|
||||
except Exception, ex:
|
||||
except Exception as ex:
|
||||
print 'Error during openid decoding: %s' % ex
|
||||
return {'success': False,
|
||||
'status': 400,
|
||||
@@ -91,7 +91,7 @@ class APIV1Page(Page):
|
||||
userdata = fas.page.make_userdata(user.user)
|
||||
else:
|
||||
userdata = fas_make_userdata(user.user)
|
||||
except Exception, ex:
|
||||
except Exception as ex:
|
||||
print 'Error during auth: %s' % ex
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user