changeset 8695 | 358d8bed9626 |
parent 7896 | 4c954e1e73ef |
--- a/misc/cwdesklets/rqlsensor/__init__.py Thu Feb 14 15:39:23 2013 +0100 +++ b/misc/cwdesklets/rqlsensor/__init__.py Thu Feb 14 15:38:25 2013 +0100 @@ -104,7 +104,7 @@ output = self._new_output() try: self.__run_query(output) - except Exception, ex: + except Exception as ex: import traceback traceback.print_exc() output.set('layout', 'vertical, 10')