diff options
| author | totallylegit | 2018-06-04 20:39:27 +0200 |
|---|---|---|
| committer | totallylegit | 2018-06-04 20:39:27 +0200 |
| commit | 183667a7f907f6d2ebc6abda4bbd774829ddffda (patch) | |
| tree | dd42a4ff31425aa3a294e899bd8107155e994561 /libmat2/harmless.py | |
| parent | 8143b63ee3ff4d98baeebfe7d19e8518d4930330 (diff) | |
Improve a bit the typing, again
Diffstat (limited to '')
| -rw-r--r-- | libmat2/harmless.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/harmless.py b/libmat2/harmless.py index aa00582..a63407f 100644 --- a/libmat2/harmless.py +++ b/libmat2/harmless.py | |||
| @@ -5,7 +5,7 @@ class HarmlessParser(abstract.AbstractParser): | |||
| 5 | """ This is the parser for filetypes that do not contain metadata. """ | 5 | """ This is the parser for filetypes that do not contain metadata. """ |
| 6 | mimetypes = {'application/xml', 'text/plain'} | 6 | mimetypes = {'application/xml', 'text/plain'} |
| 7 | 7 | ||
| 8 | def __init__(self, filename: str): | 8 | def __init__(self, filename: str) -> None: |
| 9 | super().__init__(filename) | 9 | super().__init__(filename) |
| 10 | self.filename = filename | 10 | self.filename = filename |
| 11 | self.output_filename = filename | 11 | self.output_filename = filename |
