equal
deleted
inserted
replaced
102 |
102 |
103 def __update(self): |
103 def __update(self): |
104 output = self._new_output() |
104 output = self._new_output() |
105 try: |
105 try: |
106 self.__run_query(output) |
106 self.__run_query(output) |
107 except Exception, ex: |
107 except Exception as ex: |
108 import traceback |
108 import traceback |
109 traceback.print_exc() |
109 traceback.print_exc() |
110 output.set('layout', 'vertical, 10') |
110 output.set('layout', 'vertical, 10') |
111 output.set('length', 1) |
111 output.set('length', 1) |
112 output.set('result[0]', str(ex)) |
112 output.set('result[0]', str(ex)) |