mirror of
https://github.com/frappe/erpnext.git
synced 2026-02-19 09:35:03 +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:
|
||||
parsed_response = DataWrapper(data, response.headers)
|
||||
|
||||
except HTTPError, e:
|
||||
except HTTPError as e:
|
||||
error = MWSError(str(e))
|
||||
error.response = e.response
|
||||
raise error
|
||||
|
||||
Reference in New Issue
Block a user