From d7eebbe9dbf0d790d4af93466f5c27127cae0999 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Mon, 7 Feb 2011 14:46:22 +0000 Subject: bitbake:__init__.py: Fix debug log level handling to correct debug output Signed-off-by: Richard Purdie --- bitbake/lib/bb/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/__init__.py') 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) -- cgit v1.2.3-54-g00ecf