Subversion Repositories SmartDukaan

Rev

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

Rev 15893 Rev 15896
Line 37... Line 37...
37
        self.livePricing = livePricing
37
        self.livePricing = livePricing
38
    
38
    
39
    def read(self, url):
39
    def read(self, url):
40
        response_data = ""
40
        response_data = ""
41
        try:
41
        try:
42
            response_data = fetchResponseUsingProxy(url, headers=headers)
42
            response_data = fetchResponseUsingProxy(url, headers=headers, proxy=False)
43
        except Exception as e:
43
        except Exception as e:
44
            print 'ERROR: ', e
44
            print 'ERROR: ', e
45
            print 'Retrying'
45
            print 'Retrying'
46
            self.count_trials += 1
46
            self.count_trials += 1
47
            
47