Skip to content

Commit

Permalink
Merge branch 'FixedReleaseIssue' into 'master'
Browse files Browse the repository at this point in the history
Fixed some syntax and reference issue

See merge request kount/third_party/kount-ris-python-sdk!5
  • Loading branch information
ajatkount committed Feb 9, 2021
2 parents 25abe6b + 026a2fd commit 6acb51a
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/kount/config.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

from . import resources
from .version import VERSION
from settings import CONFIGURATION_KEY, SDK_AUTHOR, SDK_MAINTAINER, MAINTAINER_EMAIL, DEFAULT_TIMEOUT
from .settings import CONFIGURATION_KEY, SDK_AUTHOR, SDK_MAINTAINER, MAINTAINER_EMAIL, DEFAULT_TIMEOUT

__author__ = SDK_AUTHOR
__version__ = VERSION
Expand Down
2 changes: 1 addition & 1 deletion src/kount/inquiry.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def set_shopping_cart(self, cart):
"""
for index, item in enumerate(cart):
if not isinstance(item, CartItem):
raise ValueError('Invalid cart item: %s', % item)
raise ValueError('Invalid cart item: %s', item)
LOG.debug("PROD_TYPE[%i] = %s, PROD_ITEM[%i] = %s, "
"PROD_DESC[%i] = %s, PROD_QUANT[%i] = %s, "
"PROD_PRICE[%i] = %s",
Expand Down
7 changes: 0 additions & 7 deletions src/kount/settings.py
Original file line number Diff line number Diff line change
@@ -1,11 +1,4 @@
from kount.version import VERSION
from kount.config import SDKConfig

__author__ = SDKConfig.SDK_AUTHOR
__version__ = VERSION
__maintainer__ = SDKConfig.SDK_MAINTAINER
__email__ = SDKConfig.MAINTAINER_EMAIL
__status__ = SDKConfig.STATUS


CONFIGURATION_KEY = None
Expand Down

0 comments on commit 6acb51a

Please sign in to comment.