Changeset - e6121f8a9f87
[Not reviewed]
default
0 2 0
Drew Perttula - 11 years ago 2014-06-03 04:57:56
drewp@bigasterisk.com
always use faulthandler.enable(). so cool
Ignore-this: 4305391ff16141c9b223e7b2ecb6140b
2 files changed with 4 insertions and 2 deletions:
0 comments (0 inline, 0 general)
bin/run_local.py
Show inline comments
 
@@ -13,13 +13,14 @@ def rce(self, exc, val, tb):
 
    if True:
 
        sys.excepthook(exc, val, tb)
 
    else:
 
        Failure(val, exc, tb).printDetailedTraceback()
 
Tkinter.Tk.report_callback_exception = rce
 

	
 
import coloredlogs, logging, time
 
import coloredlogs, logging, time, faulthandler
 
faulthandler.enable()
 
log = logging.getLogger()
 

	
 
class CSH(coloredlogs.ColoredStreamHandler):
 
    def render_timestamp(self, created):
 
        return time.strftime('%Y-%m-%d %H:%M:%S', time.localtime(created)) + (
 
            "%.3f" % (created % 1)).lstrip('0')
pydeps
Show inline comments
 
@@ -13,7 +13,8 @@ ipdb==0.8
 
coloredlogs==0.5
 
genshi==0.7
 
pyjade==2.2.0
 
python-dateutil==2.2
 
txosc==0.2.0
 
service_identity==0.2
 
Pillow==2.4.0
 
\ No newline at end of file
 
Pillow==2.4.0
 
faulthandler==2.3
 
\ No newline at end of file
0 comments (0 inline, 0 general)