bitbake: utils.py: don't use len() for truth value testing.

(Bitbake rev: 4bdfeab7845bdcd62a4928200dd13701414a464e)

Signed-off-by: Oscar Utbult <oscar@oscr.io>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Oscar Utbult 2014-10-26 23:43:32 +01:00 committed by Richard Purdie
parent f5b9b389c0
commit 2794f916ff
1 changed files with 1 additions and 1 deletions

View File

@ -522,7 +522,7 @@ def filter_environment(good_vars):
os.unsetenv(key)
del os.environ[key]
if len(removed_vars):
if removed_vars:
logger.debug(1, "Removed the following variables from the environment: %s", ", ".join(removed_vars.keys()))
return removed_vars