diff options
| author | jvoisin | 2018-07-08 22:40:36 +0200 |
|---|---|---|
| committer | jvoisin | 2018-07-08 22:40:36 +0200 |
| commit | 8c21006e6c2959a55ce8cb80758564eeea2ebde8 (patch) | |
| tree | 80263bac3f537e10b7ef8ea309e8858bcd3b1940 /libmat2/office.py | |
| parent | f49aa5cab7862466573aea0db3b03a989cf2640b (diff) | |
Fix some pep8 issues spotted by pyflakes
Diffstat (limited to '')
| -rw-r--r-- | libmat2/office.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmat2/office.py b/libmat2/office.py index e0ee6d2..75d6744 100644 --- a/libmat2/office.py +++ b/libmat2/office.py | |||
| @@ -21,7 +21,7 @@ def _parse_xml(full_path: str): | |||
| 21 | """ This function parse XML with namespace support. """ | 21 | """ This function parse XML with namespace support. """ |
| 22 | def parse_map(f): # etree support for ns is a bit rough | 22 | def parse_map(f): # etree support for ns is a bit rough |
| 23 | ns_map = dict() | 23 | ns_map = dict() |
| 24 | for event, (k, v) in ET.iterparse(f, ("start-ns", )): | 24 | for _, (k, v) in ET.iterparse(f, ("start-ns", )): |
| 25 | ns_map[k] = v | 25 | ns_map[k] = v |
| 26 | return ns_map | 26 | return ns_map |
| 27 | 27 | ||
