From 2e243355f51654c8c6392c80a17b090f9f012fd1 Mon Sep 17 00:00:00 2001 From: jvoisin Date: Mon, 24 Sep 2018 19:50:24 +0200 Subject: Fix some minor formatting issues --- libmat2/office.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libmat2/office.py') 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): for _, (key, value) in ET.iterparse(full_path, ("start-ns", )): # The ns[0-9]+ namespaces are reserved for interal usage, so # we have to use an other nomenclature. - if re.match('^ns[0-9]+$', key, re.I): #pragma: no cover + if re.match('^ns[0-9]+$', key, re.I): # pragma: no cover key = 'mat' + key[2:] namespace_map[key] = value -- cgit v1.3