mirror of
https://gerrit.googlesource.com/git-repo
synced 2025-01-02 16:14:25 +00:00
gitc_utils: Fix incorrect string format argument
Change-Id: Ibbac6e111833c8f5d93cb6cb4a10f8f2c4fd8e11
This commit is contained in:
parent
41d1baac31
commit
022a1d4e6e
@ -46,7 +46,7 @@ def _set_project_revisions(projects):
|
|||||||
for project in projects if not git_config.IsId(project.revisionExpr)]
|
for project in projects if not git_config.IsId(project.revisionExpr)]
|
||||||
for proj, gitcmd in project_gitcmds:
|
for proj, gitcmd in project_gitcmds:
|
||||||
if gitcmd.Wait():
|
if gitcmd.Wait():
|
||||||
print('FATAL: Failed to retrieve revisionExpr for %s' % project)
|
print('FATAL: Failed to retrieve revisionExpr for %s' % proj)
|
||||||
sys.exit(1)
|
sys.exit(1)
|
||||||
proj.revisionExpr = gitcmd.stdout.split('\t')[0]
|
proj.revisionExpr = gitcmd.stdout.split('\t')[0]
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user