summaryrefslogtreecommitdiff
path: root/libmat2/abstract.py
diff options
context:
space:
mode:
authorgeorg2018-07-21 00:46:48 +0000
committergeorg2018-07-21 00:46:48 +0000
commit71b1ced84246f940ee46b89352d958edb5408f2a (patch)
treec28c370f51c035538f733a1cb2c206835b26c751 /libmat2/abstract.py
parent942859601d5d08f05b374d1f12270192cede1155 (diff)
AbstractParser: Fix typos
Diffstat (limited to '')
-rw-r--r--libmat2/abstract.py4
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
8class AbstractParser(abc.ABC): 8class 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()