Minor py3k compatibility changes: iteritems() doesn't exist on Python 3.x, logged text must be Unicode.

This commit is contained in:
Lukasz Langa 2011-05-10 19:16:03 +02:00
parent 0d8fa5db6b
commit 485e375139
2 changed files with 6 additions and 2 deletions

View file

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