summaryrefslogtreecommitdiff
path: root/lib/extras.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/extras.py')
-rw-r--r--lib/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/extras.py b/lib/extras.py
index 798b3d2..8abb14f 100644
--- a/lib/extras.py
+++ b/lib/extras.py
@@ -363,7 +363,7 @@ class NamedTupleCursor(_cursor):
try:
from collections import namedtuple
- except ImportError, _exc:
+ except ImportError as _exc:
def _make_nt(self):
raise self._exc
else: