server/sources/pyrorql.py
changeset 8695 358d8bed9626
parent 8675 b60329e40e26
child 9374 1236d9058ad3
--- a/server/sources/pyrorql.py	Thu Feb 14 15:39:23 2013 +0100
+++ b/server/sources/pyrorql.py	Thu Feb 14 15:38:25 2013 +0100
@@ -34,7 +34,7 @@
     def get_connection(self):
         try:
             return self._get_connection()
-        except (ConnectionError, PyroError), ex:
+        except (ConnectionError, PyroError) as ex:
             self.critical("can't get connection to source %s: %s", self.uri, ex)
             return ConnectionWrapper()