Changeset - 5e2fa46650b6
[Not reviewed]
0 1 0
Lance Edgar - 5 years ago 2020-03-27 20:57:23
lance@edbob.org
Fix some logging bugs
1 file changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general) First comment
rattail_corepos/corepos/importing/db/exporters/catapult_inventory.py
Show inline comments
 
@@ -120,13 +120,13 @@ class InventoryItemImporter(FromCore, catapult_importing.model.InventoryItemImpo
 
        item_id = product.upc
 

	
 
        if not item_id:
 
            log.warning("item_id could not be determined for product %s: %s",
 
                        product.uuid, product)
 
            log.warning("product id %s has no upc: %s",
 
                        product.id, product)
 
            return
 

	
 
        if not item_id.isdigit():
 
            log.debug("item_id '%s' is not numeric for product %s: %s",
 
                      item_id, product.uuid, product)
 
            log.debug("product has non-numeric upc %s: %s",
 
                      item_id, product)
 
            return
 

	
 
        is_plu = False
0 comments (0 inline, 0 general) First comment
You need to be logged in to comment. Login now