Subversion Repositories SmartDukaan

Rev

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

Rev 12416 Rev 12417
Line 507... Line 507...
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
            print catalog_client
511
            print catalog_client
-
 
512
            print catalog_client.isAlive()
512
            val.vatRate = catalog_client.getVatPercentageForItem(int(val.sku[3:]), val.state_id, amDetails.ourSp)
513
            val.vatRate = catalog_client.getVatPercentageForItem(int(val.sku[3:]), val.state_id, amDetails.ourSp)
513
            print "vat fetched"
514
            print "vat fetched"
514
        except:
515
        except:
515
            print "vat exception"
516
            print "vat exception"
516
            temp = []
517
            temp = []