diff options
| author | jvoisin | 2018-09-24 19:50:24 +0200 |
|---|---|---|
| committer | jvoisin | 2018-09-24 19:50:24 +0200 |
| commit | 2e243355f51654c8c6392c80a17b090f9f012fd1 (patch) | |
| tree | b4bb244443ab0566cdb741b1c91a112ff8149214 /libmat2/office.py | |
| parent | 174d4a0ac09c2e9d4a9aa3677a442c05459b8309 (diff) | |
Fix some minor formatting issues
Diffstat (limited to 'libmat2/office.py')
| -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 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 |
