summaryrefslogtreecommitdiff
path: root/bitbake/lib
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2011-01-05 00:49:57 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2011-01-05 00:58:24 +0000
commit03679364a9e280af24ba7038dce54272eb33af83 (patch)
treeb7cda4985d06a6f7de667ae57eeafc2c99f5ea80 /bitbake/lib
parente9f4ed01731308c52bf4bc407bb21b5e85b4c53f (diff)
downloadopenembedded-core-03679364a9e280af24ba7038dce54272eb33af83.tar.gz
openembedded-core-03679364a9e280af24ba7038dce54272eb33af83.tar.bz2
openembedded-core-03679364a9e280af24ba7038dce54272eb33af83.zip
bitbake: Fix process.py to accept None as the log option
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'bitbake/lib')
-rw-r--r--bitbake/lib/bb/process.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/process.py b/bitbake/lib/bb/process.py
index 0e19cbe8de..fd7f28d7a0 100644
--- a/bitbake/lib/bb/process.py
+++ b/bitbake/lib/bb/process.py
@@ -92,7 +92,7 @@ def run(cmd, input=None, **options):
options["shell"] = True
log = options.get('log')
- if log:
+ if 'log' in options:
del options['log']
try: