Python 3 compatibility

This commit is contained in:
mcdallas
2016-02-09 21:35:50 +00:00
parent 2d820cb7ce
commit 0779e6bf4e
+1 -1
View File
@@ -36,7 +36,7 @@ class BetterNamedTupleCursor(NamedTupleCursor):
"""
try:
from collections import namedtuple
except ImportError, _exc:
except ImportError as _exc:
def _make_nt(self):
raise self._exc
else: