Minor typo fix

This commit is contained in:
Guillaume Ayoub 2011-05-15 19:53:40 +02:00
parent 06f1987975
commit 7c0e9686a8

View File

@ -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