Subversion Repositories SmartDukaan

Rev

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

Rev 12457 Rev 12465
Line 459... Line 459...
459
            continue
459
            continue
460
            
460
            
461
        scrapInfo.append(ourSkuDetails)
461
        scrapInfo.append(ourSkuDetails)
462
        sortedScrapInfo =  sorted(scrapInfo, key=itemgetter('promoPrice','notOurSku'))
462
        sortedScrapInfo =  sorted(scrapInfo, key=itemgetter('promoPrice','notOurSku'))
463
        for info in sortedScrapInfo:
463
        for info in sortedScrapInfo:
464
            if  not info.notOurSku:
464
            if  not info['notOurSku']:
465
                ourSp = info['sellingPrice']
465
                ourSp = info['sellingPrice']
466
                promoPrice = info['promoPrice']
466
                promoPrice = info['promoPrice']
467
                isPromo = info['promotion']
467
                isPromo = info['promotion']
468
                ourRank = iterator + 1
468
                ourRank = iterator + 1
469
            
469