[Reproducible-commits] [debbindiff] 01/04: Don't fail on .deb without a md5sums file
Jérémy Bobbio
lunar at moszumanska.debian.org
Fri Jul 31 05:44:50 UTC 2015
This is an automated email from the git hooks/post-receive script.
lunar pushed a commit to branch master
in repository debbindiff.
commit fa64588c1f37ba2b893726ac621b2e2f9e3f4f94
Author: Jérémy Bobbio <lunar at debian.org>
Date: Thu Jul 30 21:52:39 2015 +0000
Don't fail on .deb without a md5sums file
---
debbindiff/comparators/deb.py | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/debbindiff/comparators/deb.py b/debbindiff/comparators/deb.py
index 48fe2c6..b5123a2 100644
--- a/debbindiff/comparators/deb.py
+++ b/debbindiff/comparators/deb.py
@@ -67,7 +67,10 @@ class DebFile(File):
@property
def files_with_same_content_in_data(self):
- return self._files_with_same_content_in_data
+ if hasattr(self, '_files_with_same_content_in_data'):
+ return self._files_with_same_content_in_data
+ else:
+ return set()
def set_files_with_same_content_in_data(self, files):
self._files_with_same_content_in_data = files
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/reproducible/debbindiff.git
More information about the Reproducible-commits
mailing list