Utilities/BackgroundClient.py

changeset 4563
881340f4bd0c
parent 4221
c9fdc07753a7
child 4566
a2e8f3c420ec
equal deleted inserted replaced
4561:5bc6ed226471 4563:881340f4bd0c
165 ret = callback(fn, *data) 165 ret = callback(fn, *data)
166 else: 166 else:
167 ret = 'Unknown service.' 167 ret = 'Unknown service.'
168 168
169 self.__send(fx, fn, ret) 169 self.__send(fx, fn, ret)
170 except: 170 except Exception:
171 exctype, excval, exctb = sys.exc_info() 171 exctype, excval, exctb = sys.exc_info()
172 tbinfofile = io.StringIO() 172 tbinfofile = io.StringIO()
173 traceback.print_tb(exctb, None, tbinfofile) 173 traceback.print_tb(exctb, None, tbinfofile)
174 tbinfofile.seek(0) 174 tbinfofile.seek(0)
175 tbinfo = tbinfofile.read() 175 tbinfo = tbinfofile.read()

eric ide

mercurial