[Reproducible-commits] [diffoscope] 06/17: libarchive: Use % where intended
Jérémy Bobbio
lunar at moszumanska.debian.org
Tue Dec 8 18:15:20 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch pu/parallel2
in repository diffoscope.
commit 8a38e92c358698961689d3ee0b07a66c6ab43ad1
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