mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
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>
This commit is contained in:
parent
ea59f72778
commit
f4f1921fc6
1 changed files with 1 additions and 1 deletions
|
@ -242,7 +242,7 @@ for commit in walker:
|
||||||
"when parsing .SRCINFO in commit\n")
|
"when parsing .SRCINFO in commit\n")
|
||||||
sys.stderr.write("error: {:s}:\n".format(str(commit.id)))
|
sys.stderr.write("error: {:s}:\n".format(str(commit.id)))
|
||||||
for error in errors:
|
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)
|
exit(1)
|
||||||
|
|
||||||
srcinfo_pkgbase = srcinfo._pkgbase['pkgname']
|
srcinfo_pkgbase = srcinfo._pkgbase['pkgname']
|
||||||
|
|
Loading…
Add table
Reference in a new issue