[diffoscope] 03/04: Stop specializing files from directories earlier than necessary

Jérémy Bobbio lunar at moszumanska.debian.org
Wed Feb 17 19:00:06 CET 2016

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

lunar pushed a commit to branch master
in repository diffoscope.

commit aa1fb7074c7e6ad9a398f5e47dfdaca15dbfd4aa
Author: Jérémy Bobbio <lunar at debian.org>
Date:   Wed Feb 17 16:14:55 2016 +0000

    Stop specializing files from directories earlier than necessary
    This complement the previous change aiming at saving resourcess when looking
    for matching debug packages.
 diffoscope/comparators/directory.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/diffoscope/comparators/directory.py b/diffoscope/comparators/directory.py
index aaf295a..139e0b6 100644
--- a/diffoscope/comparators/directory.py
+++ b/diffoscope/comparators/directory.py
@@ -175,4 +175,4 @@ class DirectoryContainer(Container):
         if not os.path.islink(member_path) and os.path.isdir(member_path):
             return FilesystemDirectory(member_path)
-            return diffoscope.comparators.specialize(FilesystemFile(os.path.join(self.source.path, member_name), container=self))
+            return FilesystemFile(os.path.join(self.source.path, member_name), container=self)

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

More information about the diffoscope mailing list