diff options
| author | georg | 2018-10-02 15:59:39 +0000 |
|---|---|---|
| committer | georg | 2018-10-02 16:01:24 +0000 |
| commit | 5b606f939d7fb49830ab765585ca997bd44cfd76 (patch) | |
| tree | 445b72e0a3683ce05a61c74aceec3a37bb3f18b1 /libmat2 | |
| parent | 156e81fb4c93ef01541cd58a88186041e189c143 (diff) | |
fix typo
Diffstat (limited to 'libmat2')
| -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 4348d9b..91bf2a6 100644 --- a/libmat2/office.py +++ b/libmat2/office.py | |||
| @@ -19,7 +19,7 @@ def _parse_xml(full_path: str): | |||
| 19 | 19 | ||
| 20 | namespace_map = dict() | 20 | namespace_map = dict() |
| 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 internal 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:] |
