except Ex, e: --> except Ex as e:
Nudge us towards python3 compatability by converting deprecated python2 syntax. Signed-off-by: Sebastian Spaeth <Sebastian@SSpaeth.de>
This commit is contained in:
@ -165,7 +165,7 @@ class ExitNotifyThread(Thread):
|
||||
pass
|
||||
prof.dump_stats(os.path.join(ExitNotifyThread.profiledir,
|
||||
"%s_%s.prof" % (self.threadid, self.getName())))
|
||||
except Exception, e:
|
||||
except Exception as e:
|
||||
# Thread exited with Exception, store it
|
||||
tb = traceback.format_exc()
|
||||
self.set_exit_exception(e, tb)
|
||||
|
Reference in New Issue
Block a user