From 67f831988111b2233ac4f29389d48ce536d71d6a Mon Sep 17 00:00:00 2001 From: jvoisin Date: Wed, 2 Dec 2015 17:52:30 +0100 Subject: Remove two useless methods from the archive stripper --- libmat/archive.py | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'libmat') 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 -- cgit v1.3