changeset 8695 | 358d8bed9626 |
parent 8596 | bd4f5052a532 |
child 9263 | 42cc70a1b6ac |
--- a/hooks/__init__.py Thu Feb 14 15:39:23 2013 +0100 +++ b/hooks/__init__.py Thu Feb 14 15:38:25 2013 +0100 @@ -67,7 +67,7 @@ session = repo.internal_session(safe=True) try: source.pull_data(session) - except Exception, exc: + except Exception as exc: session.exception('while trying to update feed %s', source) finally: session.close()