summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libmat/mutagenstripper.py1
-rw-r--r--libmat/parser.py1
-rw-r--r--test/clitest.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/libmat/mutagenstripper.py b/libmat/mutagenstripper.py
index 7e4beed..0f9520a 100644
--- a/libmat/mutagenstripper.py
+++ b/libmat/mutagenstripper.py
@@ -12,6 +12,7 @@ class MutagenStripper(parser.GenericParser):
12 self._create_mfile() 12 self._create_mfile()
13 13
14 def _create_mfile(self): 14 def _create_mfile(self):
15 """ This method must be overrriden to instanciate the `mfile` attribute."""
15 raise NotImplementedError 16 raise NotImplementedError
16 17
17 def is_clean(self): 18 def is_clean(self):
diff --git a/libmat/parser.py b/libmat/parser.py
index 23cad6b..8e10ae9 100644
--- a/libmat/parser.py
+++ b/libmat/parser.py
@@ -54,6 +54,7 @@ class GenericParser(object):
54 return True 54 return True
55 55
56 def _is_clean(self, fieldset): 56 def _is_clean(self, fieldset):
57 """ Helper method of the `is_clean` one """
57 for field in fieldset: 58 for field in fieldset:
58 remove = self._should_remove(field) 59 remove = self._should_remove(field)
59 if remove is True: 60 if remove is True:
diff --git a/test/clitest.py b/test/clitest.py
index 8d48624..ec3c19c 100644
--- a/test/clitest.py
+++ b/test/clitest.py
@@ -115,6 +115,7 @@ class TestFileAttributes(unittest.TestCase):
115 115
116 116
117class TestUnsupported(test.MATTest): 117class TestUnsupported(test.MATTest):
118 """ test MAT's behaviour on unsupported files """
118 def test_abort_unsupported(self): 119 def test_abort_unsupported(self):
119 """ test if the cli aborts on unsupported files 120 """ test if the cli aborts on unsupported files
120 """ 121 """