[Reproducible-commits] [diffoscope] 04/04: Stop decompressing squashfs directories as we compare content already
Jérémy Bobbio
lunar at moszumanska.debian.org
Sun Aug 9 07:58:38 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository diffoscope.
commit f46b59de2ad232577a00cf393ac3d0bf29d0d5c9
Author: Jérémy Bobbio <lunar at debian.org>
Date: Sun Aug 9 09:57:53 2015 +0200
Stop decompressing squashfs directories as we compare content already
Closes: #794888
---
diffoscope/comparators/squashfs.py | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/diffoscope/comparators/squashfs.py b/diffoscope/comparators/squashfs.py
index 22146d0..bfe939c 100644
--- a/diffoscope/comparators/squashfs.py
+++ b/diffoscope/comparators/squashfs.py
@@ -18,6 +18,7 @@
# You should have received a copy of the GNU General Public License
# along with diffoscope. If not, see <http://www.gnu.org/licenses/>.
+from contextlib import contextmanager
import re
import subprocess
import os.path
@@ -86,6 +87,10 @@ class SquashfsDirectory(Directory, SquashfsMember):
def has_same_content_as(self, other):
return False
+ @contextmanager
+ def get_content(self):
+ yield
+
def is_directory(self):
return True
--
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