Subversion Repositories SmartDukaan

Rev

Rev 12386 | Rev 12388 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 12386 Rev 12387
Line 205... Line 205...
205
def populateStuff(time,runType):
205
def populateStuff(time,runType):
206
    global amazonLongTermActivePromotions
206
    global amazonLongTermActivePromotions
207
    itemInfo = []
207
    itemInfo = []
208
    inventory_client = InventoryClient().get_client()
208
    inventory_client = InventoryClient().get_client()
209
    fbaAvailableInventorySnapshot = inventory_client.getAllAvailableAmazonFbaItemInventory()
209
    fbaAvailableInventorySnapshot = inventory_client.getAllAvailableAmazonFbaItemInventory()
-
 
210
    print "length****"
-
 
211
    print len(fbaAvailableInventorySnapshot)
-
 
212
    sys.exit(1)
210
    for fbaInventoryItem in fbaAvailableInventorySnapshot:
213
    for fbaInventoryItem in fbaAvailableInventorySnapshot:
211
        d_amazon_listed = Amazonlisted.get_by(itemId=fbaInventoryItem.item_id)
214
        d_amazon_listed = Amazonlisted.get_by(itemId=fbaInventoryItem.item_id)
212
        if d_amazon_listed is None:
215
        if d_amazon_listed is None:
213
            continue
216
            continue
214
        if d_amazon_listed.overrrideWanlc:
217
        if d_amazon_listed.overrrideWanlc: