@@ -3,7 +3,7 @@
 from .base import *
 try:
     from .local import *
-except ImportError, exc:
+except ImportError as exc:
     exc.args = tuple(
         ['%s (did you rename settings/local-dist.py?)' % exc.args[0]])
     raise exc