Subversion Repositories SmartDukaan

Rev

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

Rev 11765 Rev 11771
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 flipkartSellingPrice is not None and not((ourSellingPrice - flipkartSellingPrice >= -3) and (flipkartSellingPrice - ourSellingPrice <=3)):
2376
        if flipkartSellingPrice is not None and not((ourSellingPrice - flipkartSellingPrice >= -3) and (ourSellingPrice - flipkartSellingPrice <=3)):
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: