Subversion Repositories SmartDukaan

Rev

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

Rev 15153 Rev 15155
Line 33... Line 33...
33
        except Exception as e:
33
        except Exception as e:
34
            print 'ERROR: ', e
34
            print 'ERROR: ', e
35
            print 'Retrying'
35
            print 'Retrying'
36
            self.count_trials += 1
36
            self.count_trials += 1
37
            
37
            
38
            if self.count_trials < 3:
38
            if self.count_trials < 5:
39
                return self.read(url)
39
                return self.read(url)
40
        
40
        
41
        self.response_data=response_data
41
        self.response_data=response_data
42
        if "Server Busy" in self.response_data:
42
        if "Server Busy" in self.response_data:
43
            print "Server busy...Ahhhhh"
43
            print "Server busy...Ahhhhh"