[diffoscope] 01/01: Revert "comparators: Drop unnecessary "close_archive" method." - it's abstract for Archive, not Libarchive

Chris Lamb chris at chris-lamb.co.uk
Sun Jan 22 09:08:29 UTC 2017


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

lamby pushed a commit to branch master
in repository diffoscope.

commit 9f470c8f45bd3b70d282b42132a212c0e81fad2b
Author: Chris Lamb <lamby at debian.org>
Date:   Sun Jan 22 22:07:06 2017 +1300

    Revert "comparators: Drop unnecessary "close_archive" method." - it's abstract for Archive, not Libarchive
    
    This reverts commit 05801d99065b2a418b3b08a3f4f194bc795d6cd4.
    
    Dch-Gbp: ignore
---
 diffoscope/comparators/rpm.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/diffoscope/comparators/rpm.py b/diffoscope/comparators/rpm.py
index c714c1e..901578c 100644
--- a/diffoscope/comparators/rpm.py
+++ b/diffoscope/comparators/rpm.py
@@ -87,6 +87,9 @@ class RpmContainer(Archive):
     def open_archive(self):
         return self
 
+    def close_archive(self):
+        pass
+
     def get_member_names(self):
         return ['content']
 

-- 
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