Subversion Repositories SmartDukaan

Rev

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

Rev 12803 Rev 12813
Line 414... Line 414...
414
 
414
 
415
        
415
        
416
def populateStuff(time,runType):
416
def populateStuff(time,runType):
417
    global amazonLongTermActivePromotions
417
    global amazonLongTermActivePromotions
418
    global amazonShortTermActivePromotions
418
    global amazonShortTermActivePromotions
-
 
419
    global wpiTodayExpiry
419
    itemInfo = []
420
    itemInfo = []
420
    inventory_client = InventoryClient().get_client()
421
    inventory_client = InventoryClient().get_client()
421
    fbaAvailableInventorySnapshot = inventory_client.getAllAvailableAmazonFbaItemInventory()
422
    fbaAvailableInventorySnapshot = inventory_client.getAllAvailableAmazonFbaItemInventory()
422
    if runType=='FAVOURITE':
423
    if runType=='FAVOURITE':
423
        favourites = session.query(Amazonlisted.itemId).filter(or_(Amazonlisted.autoFavourite==True, Amazonlisted.manualFavourite==True)).all()
424
        favourites = session.query(Amazonlisted.itemId).filter(or_(Amazonlisted.autoFavourite==True, Amazonlisted.manualFavourite==True)).all()