[aur-dev] [PATCH] git-update: Fix error when printing SRCINFO errors
This commit fixes a bug introduced by ae2907a where passing the errar 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> --- git-interface/git-update.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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'] -- 2.4.5
* Johannes Löthberg <johannes@kyriasis.com> (Sat, 4 Jul 2015 13:39:16 +0200):
This commit fixes a bug introduced by ae2907a where passing the errar tuple to .format wasn't prefixed with an asterisk.
Typo in "error tuple".
participants (2)
-
Johannes Löthberg
-
Marcel Korpel