[Pkg-privacy-commits] [mat] 34/68: Remove two useless methods from the archive stripper

Sascha Steinbiss sascha at steinbiss.name
Sun Jan 3 12:32:41 UTC 2016


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

sascha-guest pushed a commit to branch master
in repository mat.

commit 67f831988111b2233ac4f29389d48ce536d71d6a
Author: jvoisin <julien.voisin at dustri.org>
Date:   Wed Dec 2 17:52:30 2015 +0100

    Remove two useless methods from the archive stripper
---
 libmat/archive.py | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/libmat/archive.py b/libmat/archive.py
index 2e14538..07c5830 100644
--- a/libmat/archive.py
+++ b/libmat/archive.py
@@ -36,11 +36,6 @@ class GenericArchiveStripper(parser.GenericParser):
                 mat.secure_remove(path_file)
         shutil.rmtree(self.tempdir)
 
-    def _should_remove(self, key):
-        """ This method is not used, but since it's defined in
-        parser.GenericParser, we must implement it."""
-        pass
-
     def is_clean(self, list_unsupported=False):
         """ Virtual method to check for harmul metadata
         :param bool list_unsupported:
@@ -52,11 +47,6 @@ class GenericArchiveStripper(parser.GenericParser):
         """
         return self.is_clean(list_unsupported=True)
 
-    def remove_all(self):
-        """ Virtual method to remove all metadata
-        """
-        raise NotImplementedError
-
 
 class ZipStripper(GenericArchiveStripper):
     """ Represent a zip file

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/mat.git



More information about the Pkg-privacy-commits mailing list