[Reproducible-commits] [diffoscope] 01/03: libarchive: Use % where intended
Joachim Breitner
nomeata at moszumanska.debian.org
Thu Dec 3 15:37:35 UTC 2015
This is an automated email from the git hooks/post-receive script.
nomeata pushed a commit to branch pu/parallel2
in repository diffoscope.
commit 5012875bb3e2117ec5575114c85a2c2ea00aa841
Author: Joachim Breitner <mail at joachim-breitner.de>
Date: Thu Dec 3 16:19:13 2015 +0100
libarchive: Use % where intended
---
diffoscope/comparators/libarchive.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/diffoscope/comparators/libarchive.py b/diffoscope/comparators/libarchive.py
index 2a49d95..aac8d17 100644
--- a/diffoscope/comparators/libarchive.py
+++ b/diffoscope/comparators/libarchive.py
@@ -133,7 +133,7 @@ class LibarchiveContainer(Archive):
for buf in entry.get_blocks():
f.write(buf)
return dest_path
- raise KeyError('%s not found in archive', member_name)
+ raise KeyError('%s not found in archive' % member_name)
def get_member(self, member_name):
with libarchive.file_reader(self.source.path) as archive:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git
More information about the Reproducible-commits
mailing list