fix syntax error HTTPError in amazon_mws_api (#15324)
This commit is contained in:
parent
f846c43361
commit
2350dc26f6
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user