Skip to content

Commit

Permalink
Merge branch 'TPA-1144' into 'master'
Browse files Browse the repository at this point in the history
fix dead code issue in inquiry.py

See merge request kount/third_party/kount-ris-python-sdk!14
  • Loading branch information
mmewara committed Apr 14, 2022
2 parents 5c13bdb + 04e4831 commit 3bcdb5f
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/kount/inquiry.py
Expand Up @@ -238,14 +238,14 @@ def set_shopping_cart(self, cart):
for index, item in enumerate(cart):
if not isinstance(item, CartItem):
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",
index, item.product_type,
index, item.item_name,
index, item.description,
index, item.quantity,
index, item.price)
LOG.debug("PROD_TYPE[%i] = %s, PROD_ITEM[%i] = %s, "
"PROD_DESC[%i] = %s, PROD_QUANT[%i] = %s, "
"PROD_PRICE[%i] = %s",
index, item.product_type,
index, item.item_name,
index, item.description,
index, item.quantity,
index, item.price)

self.params["PROD_TYPE[%i]" % index] = item.product_type
self.params["PROD_ITEM[%i]" % index] = item.item_name
Expand Down

0 comments on commit 3bcdb5f

Please sign in to comment.