Mercurial > repos > yating-l > hubarchivecreator
view util/Filters.py @ 76:07b7536bec4b draft
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit b1ae7349f118a0fe7923d765020dfc684cf84116-dirty
author | yating-l |
---|---|
date | Wed, 27 Sep 2017 16:46:28 -0400 |
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