Mercurial > repos > yating-l > hubarchivecreatortest
view util/Filters.py @ 3:fa990284327b draft default tip
planemo upload for repository https://github.com/goeckslab/hub-archive-creator commit ac73da32d59853ca563e7939d05016a6f3a6899e-dirty
| author | yating-l |
|---|---|
| date | Mon, 30 Oct 2017 11:58:31 -0400 |
| parents | 85195e0d4b71 |
| 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
