Fix tag names for custom properties with allprop and propname
This commit is contained in:
parent
8be792280a
commit
a025a46acd
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user