changeset 8695 | 358d8bed9626 |
parent 8682 | 20bd1cdf86ae |
child 8702 | d47089677d44 |
--- a/dbapi.py Thu Feb 14 15:39:23 2013 +0100 +++ b/dbapi.py Thu Feb 14 15:38:25 2013 +0100 @@ -107,7 +107,7 @@ return _get_repository(uri, config, vreg) except ConnectionError: raise - except Exception, exc: + except Exception as exc: raise ConnectionError('cause: %r' % exc) def _get_repository(uri=None, config=None, vreg=None):