Subversion Repositories SmartDukaan

Rev

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

Rev 12415 Rev 12416
Line 506... Line 506...
506
        print "Creating object am details",val.sku
506
        print "Creating object am details",val.sku
507
        amDetails = __AmazonDetails(sku, ourSp, ourRank, lowestSellerName,lowestSellerSp,secondLowestSellerName, secondLowestSellerSp, thirdLowestSellerName, thirdLowestSellerSp,len(scrapInfo),multipleListings)
507
        amDetails = __AmazonDetails(sku, ourSp, ourRank, lowestSellerName,lowestSellerSp,secondLowestSellerName, secondLowestSellerSp, thirdLowestSellerName, thirdLowestSellerSp,len(scrapInfo),multipleListings)
508
        print "am details obj created"
508
        print "am details obj created"
509
        try:
509
        try:
510
            print "inside val getter"
510
            print "inside val getter"
511
            val.vatRate = catalog_client.getVatPercentageForItem(int(val.sku[3:]), val.state_id, amDetails.ourSp)
-
 
512
            print catalog_client
511
            print catalog_client
-
 
512
            val.vatRate = catalog_client.getVatPercentageForItem(int(val.sku[3:]), val.state_id, amDetails.ourSp)
513
            print "vat fetched"
513
            print "vat fetched"
514
        except:
514
        except:
515
            print "vat exception"
515
            print "vat exception"
516
            temp = []
516
            temp = []
517
            temp.append(val)
517
            temp.append(val)