fix syntax error HTTPError in amazon_mws_api (#15324)

This commit is contained in:
ahmad zaqout 2018-09-06 10:51:04 +03:00 committed by Nabin Hait
parent f846c43361
commit 2350dc26f6

View File

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