diff options
| -rw-r--r-- | libmat/archive.py | 10 |
1 files changed, 0 insertions, 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): | |||
| 36 | mat.secure_remove(path_file) | 36 | mat.secure_remove(path_file) |
| 37 | shutil.rmtree(self.tempdir) | 37 | shutil.rmtree(self.tempdir) |
| 38 | 38 | ||
| 39 | def _should_remove(self, key): | ||
| 40 | """ This method is not used, but since it's defined in | ||
| 41 | parser.GenericParser, we must implement it.""" | ||
| 42 | pass | ||
| 43 | |||
| 44 | def is_clean(self, list_unsupported=False): | 39 | def is_clean(self, list_unsupported=False): |
| 45 | """ Virtual method to check for harmul metadata | 40 | """ Virtual method to check for harmul metadata |
| 46 | :param bool list_unsupported: | 41 | :param bool list_unsupported: |
| @@ -52,11 +47,6 @@ class GenericArchiveStripper(parser.GenericParser): | |||
| 52 | """ | 47 | """ |
| 53 | return self.is_clean(list_unsupported=True) | 48 | return self.is_clean(list_unsupported=True) |
| 54 | 49 | ||
| 55 | def remove_all(self): | ||
| 56 | """ Virtual method to remove all metadata | ||
| 57 | """ | ||
| 58 | raise NotImplementedError | ||
| 59 | |||
| 60 | 50 | ||
| 61 | class ZipStripper(GenericArchiveStripper): | 51 | class ZipStripper(GenericArchiveStripper): |
| 62 | """ Represent a zip file | 52 | """ Represent a zip file |
