summaryrefslogtreecommitdiff
path: root/logilab/common/xmlutils.py
diff options
context:
space:
mode:
Diffstat (limited to 'logilab/common/xmlutils.py')
-rw-r--r--logilab/common/xmlutils.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/logilab/common/xmlutils.py b/logilab/common/xmlutils.py
index 7b12c45..14e3762 100644
--- a/logilab/common/xmlutils.py
+++ b/logilab/common/xmlutils.py
@@ -34,6 +34,7 @@ from typing import Dict, Optional, Union
RE_DOUBLE_QUOTE = re.compile('([\w\-\.]+)="([^"]+)"')
RE_SIMPLE_QUOTE = re.compile("([\w\-\.]+)='([^']+)'")
+
def parse_pi_data(pi_data: str) -> Dict[str, Optional[str]]:
"""
Utility function that parses the data contained in an XML