Пример #1
0
 def shouldRetry(self, stderr):
   m = GIT_TRANSIENT_ERRORS_RE.search(stderr)
   if not m:
     return False
   self.logger.info("Encountered known transient error: [%s]",
                    stderr[m.start(): m.end()])
   return True
Пример #2
0
 def shouldRetry(self, stderr):
     m = GIT_TRANSIENT_ERRORS_RE.search(stderr)
     if not m:
         return False
     self.logger.info("Encountered known transient error: [%s]",
                      stderr[m.start():m.end()])
     return True