summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 14:46:22 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-02-07 14:50:27 +0000
commitd7eebbe9dbf0d790d4af93466f5c27127cae0999 (patch)
tree5bb84c65d51ee3e67b22be24f7ded973908f1211 /bitbake/lib/bb
parentfb9c5a196eda01801a922aceab21e54d41f53a6a (diff)
downloadpoky-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.gz
bitbake:__init__.py: Fix debug log level handling to correct debug output
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb')
-rw-r--r--bitbake/lib/bb/__init__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/__init__.py b/bitbake/lib/bb/__init__.py
index de8100c0cb..4c7afc9c21 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -43,7 +43,7 @@ class BBLogger(Logger):
43 Logger.__init__(self, name) 43 Logger.__init__(self, name)
44 44
45 def bbdebug(self, level, msg, *args, **kwargs): 45 def bbdebug(self, level, msg, *args, **kwargs):
46 return self.log(logging.DEBUG - level - 1, msg, *args, **kwargs) 46 return self.log(logging.DEBUG - level + 1, msg, *args, **kwargs)
47 47
48 def plain(self, msg, *args, **kwargs): 48 def plain(self, msg, *args, **kwargs):
49 return self.log(logging.INFO + 1, msg, *args, **kwargs) 49 return self.log(logging.INFO + 1, msg, *args, **kwargs)