comparison util/Filters.py @ 0:f493979f1408 draft default tip

planemo upload for repository https://github.com/Yating-L/hubarchivecreator-test commit 48b59e91e2dcc2e97735ee35d587960cbfbce932-dirty
author yating-l
date Wed, 21 Dec 2016 12:13:04 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:f493979f1408
1 import logging
2
3 class TraceBackFormatter(logging.Formatter):
4 def format(self, record):
5 # If the log has some Exception text, we don't display them
6 s = super(TraceBackFormatter, self).format(record)
7 if record.exc_text or record.exc_info:
8 s = record.message
9 return s