summaryrefslogtreecommitdiff
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)
downloadopenembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.gz
openembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.bz2
openembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.xz
openembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.zip
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 de8100c0c..4c7afc9c2 100644
--- a/bitbake/lib/bb/__init__.py
+++ b/bitbake/lib/bb/__init__.py
@@ -43,7 +43,7 @@ class BBLogger(Logger):
Logger.__init__(self, name)
def bbdebug(self, level, msg, *args, **kwargs):
- return self.log(logging.DEBUG - level - 1, msg, *args, **kwargs)
+ return self.log(logging.DEBUG - level + 1, msg, *args, **kwargs)
def plain(self, msg, *args, **kwargs):
return self.log(logging.INFO + 1, msg, *args, **kwargs)