Merge "Don't mark as created in github until we're done"

This commit is contained in:
Jenkins 2017-09-20 18:17:55 +00:00 committed by Gerrit Code Review
commit 21f16e5c9d
1 changed files with 1 additions and 1 deletions

View File

@ -306,7 +306,6 @@ def create_update_github_project(
has_wiki=has_wiki)
created = True
cache['created-in-github'] = True
cache['has_wiki'] = has_wiki
cache['has_downloads'] = has_downloads
cache['has_issues'] = has_issues
@ -562,6 +561,7 @@ def main():
project_cache[project])
if created and GERRIT_REPLICATE:
gerrit.replicate(project)
project_cache[project]['created-in-github'] = created
except Exception:
log.exception(