gitc_utils: Fix incorrect string format argument

Change-Id: Ibbac6e111833c8f5d93cb6cb4a10f8f2c4fd8e11
This commit is contained in:
David Pursehouse 2015-08-20 16:41:04 +09:00
parent 41d1baac31
commit 022a1d4e6e

View File

@ -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]