summaryrefslogtreecommitdiff
path: root/libmat2/office.py
diff options
context:
space:
mode:
authorjvoisin2018-09-24 19:50:24 +0200
committerjvoisin2018-09-24 19:50:24 +0200
commit2e243355f51654c8c6392c80a17b090f9f012fd1 (patch)
treeb4bb244443ab0566cdb741b1c91a112ff8149214 /libmat2/office.py
parent174d4a0ac09c2e9d4a9aa3677a442c05459b8309 (diff)
Fix some minor formatting issues
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 07bbbb9..c6b324b 100644
--- a/libmat2/office.py
+++ b/libmat2/office.py
@@ -21,7 +21,7 @@ def _parse_xml(full_path: str):
21 for _, (key, value) in ET.iterparse(full_path, ("start-ns", )): 21 for _, (key, value) in ET.iterparse(full_path, ("start-ns", )):
22 # The ns[0-9]+ namespaces are reserved for interal usage, so 22 # The ns[0-9]+ namespaces are reserved for interal usage, so
23 # we have to use an other nomenclature. 23 # we have to use an other nomenclature.
24 if re.match('^ns[0-9]+$', key, re.I): #pragma: no cover 24 if re.match('^ns[0-9]+$', key, re.I): # pragma: no cover
25 key = 'mat' + key[2:] 25 key = 'mat' + key[2:]
26 26
27 namespace_map[key] = value 27 namespace_map[key] = value