# HG changeset patch # User Drew Perttula # Date 1559779922 0 # Node ID 7088d60fde7ee853b1da59e2b7a7c88177c95748 # Parent 9f0f2b39ad95484dea3121243d7523f660ce5de0 leave cool ipython exc handler in run_local.py Ignore-this: 11bd28c361de6a84ec70d55e0f18a242 diff -r 9f0f2b39ad95 -r 7088d60fde7e bin/run_local.py --- a/bin/run_local.py Thu Jun 06 00:09:39 2019 +0000 +++ b/bin/run_local.py Thu Jun 06 00:12:02 2019 +0000 @@ -52,6 +52,12 @@ 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