[aur-dev] [PATCH] git-update: Fix error when printing SRCINFO errors

Johannes Löthberg johannes at kyriasis.com
Sat Jul 4 11:39:16 UTC 2015

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 at gmail.com>
Signed-off-by: Johannes Löthberg <johannes at 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))
     srcinfo_pkgbase = srcinfo._pkgbase['pkgname']

More information about the aur-dev mailing list