Typo in option name

This commit is contained in:
2011-06-22 14:01:18 +01:00
parent 36f6d3a35c
commit b2195c7030

View File

@@ -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: