[diffoscope] 01/02: comparators: bzip2: replaced default path gen by self.get_path_name

Juliana Oliveira R jwnx-guest at moszumanska.debian.org
Mon Sep 11 03:42:22 CEST 2017

This is an automated email from the git hooks/post-receive script.

jwnx-guest pushed a commit to branch jwnx_fix_different_container_type_comparison
in repository diffoscope.

commit 52e5ab30b85c50e196a3ebaa27c455d3f27cf627
Author: Juliana Oliveira Rodrigues <juliana.orod at gmail.com>
Date:   Sun Sep 10 21:53:43 2017 -0300

    comparators: bzip2: replaced default path gen by self.get_path_name
    Replaced the default dest_path generated by junction of destination dir
    and filename by self.get_path_name.
 diffoscope/comparators/bzip2.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/bzip2.py b/diffoscope/comparators/bzip2.py
index 61007d5..ce36cb0 100644
--- a/diffoscope/comparators/bzip2.py
+++ b/diffoscope/comparators/bzip2.py
@@ -42,7 +42,7 @@ class Bzip2Container(Archive):
     def extract(self, member_name, dest_dir):
-        dest_path = os.path.join(dest_dir, member_name)
+        dest_path = self.get_path_name(dest_dir)
         logger.debug('bzip2 extracting to %s', dest_path)
         with open(dest_path, 'wb') as fp:

Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/diffoscope.git

More information about the diffoscope mailing list