diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 14:46:22 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2011-02-07 14:50:27 +0000 |
commit | d7eebbe9dbf0d790d4af93466f5c27127cae0999 (patch) | |
tree | 5bb84c65d51ee3e67b22be24f7ded973908f1211 /bitbake | |
parent | fb9c5a196eda01801a922aceab21e54d41f53a6a (diff) | |
download | openembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.gz openembedded-core-d7eebbe9dbf0d790d4af93466f5c27127cae0999.tar.bz2 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')
-rw-r--r-- | bitbake/lib/bb/__init__.py | 2 |
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): 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) |