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