Subversion Repositories SmartDukaan

Rev

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

Rev 11756 Rev 11757
Line 2371... Line 2371...
2371
    mpItems[:] = []
2371
    mpItems[:] = []
2372
    mismatches = []
2372
    mismatches = []
2373
    for k,v in flipkartPricing.iteritems():
2373
    for k,v in flipkartPricing.iteritems():
2374
        flipkartSellingPrice = v[0]
2374
        flipkartSellingPrice = v[0]
2375
        ourSellingPrice = saholicPricing.get(k)
2375
        ourSellingPrice = saholicPricing.get(k)
2376
        if ourSellingPrice!=flipkartSellingPrice and flipkartSellingPrice is not None:
2376
        if not((ourSellingPrice - flipkartSellingPrice >= -3) and (flipkartSellingPrice - ourSellingPrice <=3)) and flipkartSellingPrice is not None:
2377
            mismatches.append(k)
2377
            mismatches.append(k)
2378
    print "mismatches are ",mismatches
2378
    print "mismatches are ",mismatches
2379
    if len(mismatches)==0:
2379
    if len(mismatches)==0:
2380
        return
2380
        return
2381
    for item in mismatches:
2381
    for item in mismatches: