diff -r d901c36bcfce -r 358d8bed9626 etwist/service.py --- a/etwist/service.py Thu Feb 14 15:39:23 2013 +0100 +++ b/etwist/service.py Thu Feb 14 15:38:25 2013 +0100 @@ -91,7 +91,7 @@ logger.info('instance started on %s', root_resource.base_url) self.ReportServiceStatus(win32service.SERVICE_RUNNING) reactor.run() - except Exception, e: + except Exception as e: logger.error('service %s stopped (cause: %s)' % (self.instance, e)) logger.exception('what happened ...') self.ReportServiceStatus(win32service.SERVICE_STOPPED)