From: Markus Lehtonen Date: Fri, 11 Jul 2014 13:09:26 +0000 (+0300) Subject: log: prepare for the upcoming API change in gbp.log X-Git-Tag: 0.23~13 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e125cbeebd68ef818a5d0d81271ce600007ea05;p=tools%2Fgbs.git log: prepare for the upcoming API change in gbp.log Change-Id: I1a1e88722db8946647f748e0710df19bdbb96c58 Signed-off-by: Markus Lehtonen --- diff --git a/gitbuildsys/log.py b/gitbuildsys/log.py index d85f3c3..3332b16 100644 --- a/gitbuildsys/log.py +++ b/gitbuildsys/log.py @@ -79,6 +79,8 @@ def setup(verbose, debug=False): else: log_fmt = '%(color)s%(levelname)s: %(coloroff)s%(message)s' LOGGER.set_format(log_fmt) + if hasattr(gbp.log, 'initialize'): + gbp.log.initialize() gbp.log.LOGGER.set_format(log_fmt) # Set output colors