commit | 2350dc26f6ae856de06da5fffc2fd8ccc951a7d7 | [log] [tgz] |
---|---|---|
author | ahmad zaqout <ahmedzaqout@outlook.com> | Thu Sep 06 10:51:04 2018 +0300 |
committer | Nabin Hait <nabinhait@gmail.com> | Thu Sep 06 13:21:04 2018 +0530 |
tree | 5d1d51c026c3b4d0126a6e32627ad0c7ed4c2cc4 | |
parent | f846c43361a382651658170105dfd0da2fa48fae [diff] |
fix syntax error HTTPError in amazon_mws_api (#15324)
diff --git a/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py b/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py index 798e637..1e131e8 100755 --- a/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py +++ b/erpnext/erpnext_integrations/doctype/amazon_mws_settings/amazon_mws_api.py
@@ -196,7 +196,7 @@ 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