Commit f4f1921f authored by Johannes Löthberg's avatar Johannes Löthberg Committed by Lukas Fleischer
Browse files

git-update: Fix error when printing SRCINFO errors

This commit fixes a bug introduced by ae2907a5

 (git: Use .format
everywhere instead of %, 2015-06-27) where passing the error tuple to
.format wasn't prefixed with an asterisk.

Fixes FS#45545.

Reported-by: default avatarMarty <>
Signed-off-by: Johannes Löthberg's avatarJohannes Löthberg <>
Signed-off-by: Lukas Fleischer's avatarLukas Fleischer <>
parent ea59f727
......@@ -242,7 +242,7 @@ for commit in walker:
"when parsing .SRCINFO in commit\n")
sys.stderr.write("error: {:s}:\n".format(str(
for error in errors:
sys.stderr.write("error: line {:d}: {:s}\n".format(error))
sys.stderr.write("error: line {:d}: {:s}\n".format(*error))
srcinfo_pkgbase = srcinfo._pkgbase['pkgname']
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment