Mercurial > repos > yating-l > hubarchivecreator
view util/Filters.py @ 85:a65e52152476 draft default tip
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit 1a81ebd0ddea950b84af3fc830e9267a4814b29f
author | yating-l |
---|---|
date | Mon, 06 Nov 2017 13:13:01 -0500 |
parents | 4ca7cbf2d9b8 |
children |
line wrap: on
line source
import logging class TraceBackFormatter(logging.Formatter): def format(self, record): # If the log has some Exception text, we don't display them s = super(TraceBackFormatter, self).format(record) if record.exc_text or record.exc_info: s = record.message return s