diff options
author | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-09-25 12:02:56 +0300 |
---|---|---|
committer | Markus Lehtonen <markus.lehtonen@linux.intel.com> | 2014-11-14 14:47:21 +0200 |
commit | 1bea8b79698bb950c1a834a858472f3858dfe3f9 (patch) | |
tree | b41563cbe96725a455d08ee41b5babc65cd7bdb5 | |
parent | 215c6e237efee30bea6e3f27230b6bd38e167511 (diff) | |
download | git-buildpackage-1bea8b79698bb950c1a834a858472f3858dfe3f9.tar.gz git-buildpackage-1bea8b79698bb950c1a834a858472f3858dfe3f9.tar.bz2 git-buildpackage-1bea8b79698bb950c1a834a858472f3858dfe3f9.zip |
log: don't propagate to ancestor loggers
Change-Id: I6548dcfe5ba2f779b9d9244ad1eb88fa92c2180e
Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
-rw-r--r-- | gbp/log.py | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -105,6 +105,8 @@ class GbpLogger(logging.Logger): CRITICAL])) for hdlr in self._default_handlers: self.addHandler(hdlr) + # We don't want to propagate as we add our own handlers + self.propagate = False def set_color(self, color): """Set/unset colorized output of the default handlers""" |