Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sergioteula committed Jul 27, 2021
2 parents 69bf6b9 + f198053 commit 9cb744b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions amazon_paapi/errors/exceptions.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ class ItemsNotFoudException(AmazonException):
pass

class TooManyRequestsException(AmazonException):
"""Raised if too many requests are made"""
"""Raised when requests limit is reached"""
pass

class InvalidPartnerTagException(AmazonException):
"""Raised if the partner tag is not present or invalid"""
pass

class AssociateValidationException(AmazonException):
"""Raised when credentials are not valid for the selected country."""
"""Raised when credentials are not valid for the selected country"""
pass
2 changes: 1 addition & 1 deletion amazon_paapi/tools/asin.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ def get_asin(text: str) -> str:
if asin:
return asin.group(2)
else:
raise AsinNotFoundException('Asin not found found')
raise AsinNotFoundException('Asin not found: ' + text)
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

setuptools.setup(
name='python-amazon-paapi',
version='4.1.0',
version='4.1.1',
author='Sergio Abad',
author_email='[email protected]',
description='Amazon Product Advertising API 5.0 wrapper for Python',
Expand Down

0 comments on commit 9cb744b

Please sign in to comment.