mirror of
https://github.com/kennethreitz/records.git
synced 2026-06-05 23:00:20 +00:00
Python 3 compatibility
This commit is contained in:
+1
-1
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user