Changeset - 7088d60fde7e
[Not reviewed]
default
0 1 0
Drew Perttula - 6 years ago 2019-06-06 00:12:02
drewp@bigasterisk.com
leave cool ipython exc handler in run_local.py
Ignore-this: 11bd28c361de6a84ec70d55e0f18a242
1 file changed with 6 insertions and 0 deletions:
0 comments (0 inline, 0 general)
bin/run_local.py
Show inline comments
 
@@ -49,12 +49,18 @@ import coloredlogs, logging, time
 
try:
 
    import faulthandler
 
    faulthandler.enable()
 
except ImportError:
 
    pass
 

	
 
if 0:
 
    from IPython.core import ultratb
 
    sys.excepthook = ultratb.FormattedTB(mode='Verbose',
 
                                         color_scheme='Linux',
 
                                         call_pdb=1)
 

	
 
progName = sys.argv[0].split('/')[-1]
 
log = logging.getLogger()  # this has to get the root logger
 
log.name = progName  # but we can rename it for clarity
 

	
 

	
 
class FractionTimeFilter(logging.Filter):
0 comments (0 inline, 0 general)