summaryrefslogtreecommitdiffstats
path: root/git-interface
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2015-07-04 13:39:16 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-07-04 15:02:04 +0200
commitf4f1921fc60a759c647fb6004655c4dd9e8639cd (patch)
tree71f12a47daf87f0ff1f88ef754ebe2943d30824f /git-interface
parentea59f7277849c9f37a166375293d57bdd97bb20b (diff)
downloadaurweb-f4f1921fc60a759c647fb6004655c4dd9e8639cd.tar.xz
git-update: Fix error when printing SRCINFO errors
This commit fixes a bug introduced by ae2907a (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: Marty <vadmium+al@gmail.com> Signed-off-by: Johannes Löthberg <johannes@kyriasis.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'git-interface')
-rwxr-xr-xgit-interface/git-update.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-interface/git-update.py b/git-interface/git-update.py
index 592f127..ba65cab 100755
--- a/git-interface/git-update.py
+++ b/git-interface/git-update.py
@@ -242,7 +242,7 @@ for commit in walker:
"when parsing .SRCINFO in commit\n")
sys.stderr.write("error: {:s}:\n".format(str(commit.id)))
for error in errors:
- sys.stderr.write("error: line {:d}: {:s}\n".format(error))
+ sys.stderr.write("error: line {:d}: {:s}\n".format(*error))
exit(1)
srcinfo_pkgbase = srcinfo._pkgbase['pkgname']