mirror of
https://github.com/frappe/erpnext.git
synced 2026-05-13 02:01:21 +00:00
fix syntax error HTTPError in amazon_mws_api (#15324)
This commit is contained in:
@@ -196,7 +196,7 @@ class MWS(object):
|
|||||||
except XMLError:
|
except XMLError:
|
||||||
parsed_response = DataWrapper(data, response.headers)
|
parsed_response = DataWrapper(data, response.headers)
|
||||||
|
|
||||||
except HTTPError, e:
|
except HTTPError as e:
|
||||||
error = MWSError(str(e))
|
error = MWSError(str(e))
|
||||||
error.response = e.response
|
error.response = e.response
|
||||||
raise error
|
raise error
|
||||||
|
|||||||
Reference in New Issue
Block a user