project: fix format string in error message

BUG=None

Change-Id: I0b195fd919c6db8cb3547e8d6f4c733f2bd4a535
Reviewed-on: https://gerrit-review.googlesource.com/c/git-repo/+/322735
Tested-by: LaMont Jones <lamontjones@google.com>
Reviewed-by: Xin Li <delphij@google.com>
This commit is contained in:
LaMont Jones 2021-11-03 20:48:27 +00:00
parent 6251729cb4
commit 7b9b251a5e

View File

@ -2440,7 +2440,7 @@ class Project(object):
if quiet:
cmd.append('-q')
if GitCommand(self, cmd).Wait() != 0:
raise GitError('%s submodule update --init --recursive %s ' % self.name)
raise GitError('%s submodule update --init --recursive ' % self.name)
def _Rebase(self, upstream, onto=None):
cmd = ['rebase']