renamer over.app.Main.exception_handler to over.app.Main.stack_tracer

This commit is contained in:
Martinez 2016-05-16 00:28:43 +02:00
parent d0fd7e90c5
commit 5541facfd8
2 changed files with 6 additions and 6 deletions

View file

@ -189,7 +189,7 @@ class Main:
...
if handle_exceptions:
sys.excepthook = self.exception_handler
sys.excepthook = self.stack_tracer
def __repr__(self):
return 'over.app.Main(name="%s")' %(self.name)
@ -344,7 +344,7 @@ class Main:
self.parse_config()
self.parse_cmdline(cmdline)
def exception_handler(self, exception_type, exception, trace):
def stack_tracer(self, exception_type, exception, trace):
"""
@while formatting a traceback