summaryrefslogtreecommitdiff
path: root/libmat2/office.py
diff options
context:
space:
mode:
authorjvoisin2018-07-08 22:40:36 +0200
committerjvoisin2018-07-08 22:40:36 +0200
commit8c21006e6c2959a55ce8cb80758564eeea2ebde8 (patch)
tree80263bac3f537e10b7ef8ea309e8858bcd3b1940 /libmat2/office.py
parentf49aa5cab7862466573aea0db3b03a989cf2640b (diff)
Fix some pep8 issues spotted by pyflakes
Diffstat (limited to 'libmat2/office.py')
-rw-r--r--libmat2/office.py2
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