Commit 1a3ff083 authored by Maciej Delmanowski's avatar Maciej Delmanowski

Use the correct Python exception

parent 2418b9d1
......@@ -25,7 +25,7 @@ from operator import itemgetter
try:
unicode = unicode
except ImportError:
except NameError:
# py3
unicode = str
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment