Fix tag names for custom properties with allprop and propname

This commit is contained in:
Unrud 2017-09-17 14:03:53 +02:00
parent 8be792280a
commit a025a46acd

View File

@ -62,7 +62,7 @@ for short, url in NAMESPACES.items():
ET.register_namespace("" if short == "D" else short, url) ET.register_namespace("" if short == "D" else short, url)
CLARK_TAG_REGEX = re.compile(r"{(?P<namespace>[^}]*)}(?P<tag>.*)", re.VERBOSE) CLARK_TAG_REGEX = re.compile(r"{(?P<namespace>[^}]*)}(?P<tag>.*)", re.VERBOSE)
HUMAN_REGEX = re.compile(r"(?P<namespace>[^:{}]*)(?P<tag>.*)", re.VERBOSE) HUMAN_REGEX = re.compile(r"(?P<namespace>[^:{}]*):(?P<tag>.*)", re.VERBOSE)
DAY = timedelta(days=1) DAY = timedelta(days=1)
SECOND = timedelta(seconds=1) SECOND = timedelta(seconds=1)