AbstractParser: Fix typos
This commit is contained in:
parent
942859601d
commit
71b1ced842
@ -7,7 +7,7 @@ assert Set # make pyflakes happy
|
|||||||
|
|
||||||
class AbstractParser(abc.ABC):
|
class AbstractParser(abc.ABC):
|
||||||
""" This is the base classe of every parser.
|
""" This is the base classe of every parser.
|
||||||
It might yeild `ValueError` on instanciation on invalid files.
|
It might yield `ValueError` on instanciation on invalid files.
|
||||||
"""
|
"""
|
||||||
meta_list = set() # type: Set[str]
|
meta_list = set() # type: Set[str]
|
||||||
mimetypes = set() # type: Set[str]
|
mimetypes = set() # type: Set[str]
|
||||||
@ -30,7 +30,7 @@ class AbstractParser(abc.ABC):
|
|||||||
|
|
||||||
def remove_all_lightweight(self) -> bool:
|
def remove_all_lightweight(self) -> bool:
|
||||||
""" This method removes _SOME_ metadata.
|
""" This method removes _SOME_ metadata.
|
||||||
I might be useful to implement it for fileformats that do
|
It might be useful to implement it for fileformats that do
|
||||||
not support non-destructive cleaning.
|
not support non-destructive cleaning.
|
||||||
"""
|
"""
|
||||||
return self.remove_all()
|
return self.remove_all()
|
||||||
|
Loading…
Reference in New Issue
Block a user