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:
parent
49d3ab1513
commit
e2b22ecc20
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue