summaryrefslogtreecommitdiff
path: root/gbp
diff options
context:
space:
mode:
authorMarkus Lehtonen <markus.lehtonen@linux.intel.com>2014-09-25 12:02:56 +0300
committerJun Wang <junbill.wang@samsung.com>2016-01-28 01:33:55 +0800
commit27e2f111b74ef7b4ca19ee1248087453e78e1b37 (patch)
tree071a3e82649c5b825da4d0a194d474a68ca7906f /gbp
parente726b74fee57fcc78282f1ad700fa16095798fa8 (diff)
downloadgit-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.tar.gz
git-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.tar.bz2
git-buildpackage-27e2f111b74ef7b4ca19ee1248087453e78e1b37.zip
log: don't propagate to ancestor loggers
Change-Id: I6548dcfe5ba2f779b9d9244ad1eb88fa92c2180e Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
Diffstat (limited to 'gbp')
-rw-r--r--gbp/log.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gbp/log.py b/gbp/log.py
index 17cd680d..a8e420a8 100644
--- a/gbp/log.py
+++ b/gbp/log.py
@@ -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"""