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 <[email protected]>
Signed-off-by: Johannes Löthberg <[email protected]>
---
 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

Reply via email to