Minor py3k compatibility changes: iteritems() doesn't exist on Python 3.x, logged text must be Unicode.
This commit is contained in:
@@ -38,7 +38,7 @@ NAMESPACES = {
|
||||
"CS": "http://calendarserver.org/ns/"}
|
||||
|
||||
|
||||
for short, url in NAMESPACES.iteritems():
|
||||
for short, url in NAMESPACES.items():
|
||||
ET._namespace_map[url] = short
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user