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

planemo upload for repository https://github.com/Yating-L/hubarchivecreator-test.git commit 199ae2b10f3b3e58cb4d4a3b9fb4b35db415c538-dirty
author yating-l
date Thu, 22 Dec 2016 17:53:00 -0500
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:abcfd662b679
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