diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/abstract.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libmat2/abstract.py b/libmat2/abstract.py index 701ab60..52eeb50 100644 --- a/libmat2/abstract.py +++ b/libmat2/abstract.py | |||
| @@ -7,7 +7,7 @@ assert Set # make pyflakes happy | |||
| 7 | 7 | ||
| 8 | class AbstractParser(abc.ABC): | 8 | class AbstractParser(abc.ABC): |
| 9 | """ This is the base classe of every parser. | 9 | """ This is the base classe of every parser. |
| 10 | It might yeild `ValueError` on instanciation on invalid files. | 10 | It might yield `ValueError` on instanciation on invalid files. |
| 11 | """ | 11 | """ |
| 12 | meta_list = set() # type: Set[str] | 12 | meta_list = set() # type: Set[str] |
| 13 | mimetypes = set() # type: Set[str] | 13 | mimetypes = set() # type: Set[str] |
| @@ -30,7 +30,7 @@ class AbstractParser(abc.ABC): | |||
| 30 | 30 | ||
| 31 | def remove_all_lightweight(self) -> bool: | 31 | def remove_all_lightweight(self) -> bool: |
| 32 | """ This method removes _SOME_ metadata. | 32 | """ This method removes _SOME_ metadata. |
| 33 | I might be useful to implement it for fileformats that do | 33 | It might be useful to implement it for fileformats that do |
| 34 | not support non-destructive cleaning. | 34 | not support non-destructive cleaning. |
| 35 | """ | 35 | """ |
| 36 | return self.remove_all() | 36 | return self.remove_all() |
