Minor typo fix
This commit is contained in:
parent
06f1987975
commit
7c0e9686a8
@ -44,7 +44,7 @@ for short, url in NAMESPACES.items():
|
|||||||
# Register namespaces cleanly with Python 2.7+ and 3.2+ ...
|
# Register namespaces cleanly with Python 2.7+ and 3.2+ ...
|
||||||
ET.register_namespace("" if short == "D" else short, url)
|
ET.register_namespace("" if short == "D" else short, url)
|
||||||
else:
|
else:
|
||||||
# ... and badly with Python 2.6- and 3.1-
|
# ... and badly with Python 2.6 and 3.1
|
||||||
ET._namespace_map[url] = short
|
ET._namespace_map[url] = short
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user