diff options
Diffstat (limited to 'libmat2')
| -rw-r--r-- | libmat2/archive.py | 3 | ||||
| -rw-r--r-- | libmat2/office.py | 3 |
2 files changed, 0 insertions, 6 deletions
diff --git a/libmat2/archive.py b/libmat2/archive.py index 5f058b9..25ff7f9 100644 --- a/libmat2/archive.py +++ b/libmat2/archive.py | |||
| @@ -11,9 +11,6 @@ from typing import Pattern, Union, Any | |||
| 11 | 11 | ||
| 12 | from . import abstract, UnknownMemberPolicy, parser_factory | 12 | from . import abstract, UnknownMemberPolicy, parser_factory |
| 13 | 13 | ||
| 14 | # Make pyflakes happy | ||
| 15 | assert Pattern | ||
| 16 | |||
| 17 | # pylint: disable=not-callable,assignment-from-no-return,too-many-branches | 14 | # pylint: disable=not-callable,assignment-from-no-return,too-many-branches |
| 18 | 15 | ||
| 19 | # An ArchiveClass is a class representing an archive, | 16 | # An ArchiveClass is a class representing an archive, |
diff --git a/libmat2/office.py b/libmat2/office.py index ae6ef39..1c1bca8 100644 --- a/libmat2/office.py +++ b/libmat2/office.py | |||
| @@ -12,9 +12,6 @@ from .archive import ZipParser | |||
| 12 | 12 | ||
| 13 | # pylint: disable=line-too-long | 13 | # pylint: disable=line-too-long |
| 14 | 14 | ||
| 15 | # Make pyflakes happy | ||
| 16 | assert Pattern | ||
| 17 | |||
| 18 | def _parse_xml(full_path: str) -> tuple[ET.ElementTree, dict[str, str]]: | 15 | def _parse_xml(full_path: str) -> tuple[ET.ElementTree, dict[str, str]]: |
| 19 | """ This function parses XML, with namespace support. """ | 16 | """ This function parses XML, with namespace support. """ |
| 20 | namespace_map = dict() | 17 | namespace_map = dict() |
