mirror of
https://github.com/nikdoof/test-auth.git
synced 2025-12-14 14:52:15 +00:00
Typo in option name
This commit is contained in:
@@ -20,10 +20,10 @@ def import_corp_details(corp_id, callback=None):
|
|||||||
try:
|
try:
|
||||||
corp = import_corp_details_func(corp_id, log)
|
corp = import_corp_details_func(corp_id, log)
|
||||||
except APIAccessException, exc:
|
except APIAccessException, exc:
|
||||||
log.error('API Exception while retreiving the corp document', exc_info=sys.exc_info(), exra={'data': {'corp_id': corp_id}})
|
log.error('API Exception while retreiving the corp document', exc_info=sys.exc_info(), extra={'data': {'corp_id': corp_id}})
|
||||||
return
|
return
|
||||||
except:
|
except:
|
||||||
log.error('Unknown exception while retreiving the corp document', exc_info=sys.exc_info(), exra={'data': {'corp_id': corp_id}})
|
log.error('Unknown exception while retreiving the corp document', exc_info=sys.exc_info(), extra={'data': {'corp_id': corp_id}})
|
||||||
return
|
return
|
||||||
else:
|
else:
|
||||||
if callback:
|
if callback:
|
||||||
@@ -38,10 +38,10 @@ def import_corp_details_result(corp_id, callback=None):
|
|||||||
try:
|
try:
|
||||||
corp = import_corp_details_func(corp_id, log)
|
corp = import_corp_details_func(corp_id, log)
|
||||||
except APIAccessException, exc:
|
except APIAccessException, exc:
|
||||||
log.error('API Exception while retreiving the corp document', exc_info=sys.exc_info(), exra={'data': {'corp_id': corp_id}})
|
log.error('API Exception while retreiving the corp document', exc_info=sys.exc_info(), extra={'data': {'corp_id': corp_id}})
|
||||||
return None
|
return None
|
||||||
except:
|
except:
|
||||||
log.error('Unknown exception while retreiving the corp document', exc_info=sys.exc_info(), exra={'data': {'corp_id': corp_id}})
|
log.error('Unknown exception while retreiving the corp document', exc_info=sys.exc_info(), extra={'data': {'corp_id': corp_id}})
|
||||||
return None
|
return None
|
||||||
else:
|
else:
|
||||||
if callback:
|
if callback:
|
||||||
|
|||||||
Reference in New Issue
Block a user