changeset 837:f3364e9f5c03

got tired of long tracebacks in the console Ignore-this: 5c2a047b946e8e478f2e37373f67de2d
author drewp@bigasterisk.com
date Tue, 26 Mar 2013 07:03:28 +0000
parents dc35587fbbb6
children 321fc6150ee3
files bin/run_local.py
diffstat 1 files changed, 0 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/bin/run_local.py	Wed Jun 05 00:11:22 2013 +0000
+++ b/bin/run_local.py	Tue Mar 26 07:03:28 2013 +0000
@@ -17,17 +17,4 @@
         Failure(val, exc, tb).printDetailedTraceback()
 Tkinter.Tk.report_callback_exception = rce
 
-import coloredlogs, logging, time
-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')
-
-    def render_name(self, name):
-        return name
-
-log.addHandler(CSH(show_hostname=False, show_name=True))
-
 cgitb.enable(format='txt')