Subversion Repositories SmartDukaan

Rev

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

Rev 20313 Rev 20314
Line 112... Line 112...
112
                pass
112
                pass
113
            
113
            
114
            
114
            
115
            lowestPrice = 0.0
115
            lowestPrice = 0.0
116
            asinPricingMap = amScraper.get_competitive_pricing_for_asin(marketplaceId, [data['identifier'].strip().upper()])
116
            asinPricingMap = amScraper.get_competitive_pricing_for_asin(marketplaceId, [data['identifier'].strip().upper()])
-
 
117
            print "asinPricingMap ",asinPricingMap
117
            lowestPrice = asinPricingMap.get(data['identifier'].strip().upper()) 
118
            lowestPrice = asinPricingMap.get(data['identifier'].strip().upper()) 
118
            print "LowestPrice ",lowestPrice
119
            print "LowestPrice ",lowestPrice
119
            inStock = 0
120
            inStock = 0
120
            if lowestPrice > 0:
121
            if lowestPrice > 0:
121
                inStock = 1
122
                inStock = 1