Commit 67f83198 authored by jvoisin's avatar jvoisin

Remove two useless methods from the archive stripper

parent 5d14fff4
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment