Merge changes I32da12c2,Ie4a65b3e

* changes:
  Skip sleep and retry if git remote update exits with a signal
  Catch exceptions in project list generator
This commit is contained in:
David Pursehouse
2015-06-02 00:14:43 +00:00
committed by Gerrit Code Review
2 changed files with 22 additions and 4 deletions

View File

@@ -1909,6 +1909,9 @@ class Project(object):
# mode, we just tried sync'ing from the upstream field; it doesn't exist, thus
# abort the optimization attempt and do a full sync.
break
elif ret < 0:
# Git died with a signal, exit immediately
break
time.sleep(random.randint(30, 45))
if initial: