diff options
author | Jun Wang <junbill.wang@samsung.com> | 2016-02-03 23:40:55 +0800 |
---|---|---|
committer | Jun Wang <junbill.wang@samsung.com> | 2016-02-03 23:40:55 +0800 |
commit | 1fa96204fc005cfca9c056386aab8631dee2efbe (patch) | |
tree | 94945b7167f810a8878f5c2bbbc8f67147f4de77 /gbp/log.py | |
parent | 686db8d36d7a9195abb4c503651feea44e2c50d5 (diff) | |
download | git-buildpackage-1fa96204fc005cfca9c056386aab8631dee2efbe.tar.gz git-buildpackage-1fa96204fc005cfca9c056386aab8631dee2efbe.tar.bz2 git-buildpackage-1fa96204fc005cfca9c056386aab8631dee2efbe.zip |
fix gbp.log error in opensuse
Change-Id: I1fc96948cbd8da9a6325b67ab511ae2c6a199c6e
Diffstat (limited to 'gbp/log.py')
-rw-r--r-- | gbp/log.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -172,8 +172,8 @@ def _parse_color_scheme(color_scheme=""): def getLogger(*args, **kwargs): """Gbp-specific function""" - if not issubclass(logging.getLoggerClass(), GbpLogger): - logging.setLoggerClass(GbpLogger) +# if not issubclass(logging.getLoggerClass(), GbpLogger): + logging.setLoggerClass(GbpLogger) color = kwargs.pop('color') if 'color' in kwargs else 'auto' logger = logging.getLogger(*args, **kwargs) if hasattr(logger, 'default_handlers') and not logger.default_handlers: |