summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-01-21 23:49:50 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-01-21 23:49:50 +0000
commit37f8e24ce3abb815652e5e7770c384d70a5cb5aa (patch)
tree68b9d03c8844390a20c5f997be48a0dbdb046ae9
parent5ebad0d500562a132067b423bb6711e8893f2859 (diff)
downloadopenembedded-core-37f8e24ce3abb815652e5e7770c384d70a5cb5aa.tar.gz
openembedded-core-37f8e24ce3abb815652e5e7770c384d70a5cb5aa.tar.bz2
openembedded-core-37f8e24ce3abb815652e5e7770c384d70a5cb5aa.zip
bitbake: Fix UI failure exception handling with python 2.6
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
-rwxr-xr-xbitbake/bin/bitbake2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index 23c9d73ee4..bc6ce08378 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -185,7 +185,7 @@ Default BBFILES are the .bb files in the current directory.""" )
print "FATAL: Invalid user interface '%s' specified. " % ui
print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'."
except Exception, e:
- print "FATAL: Unable to start to '%s' UI: %s." % (configuration.ui, e.message)
+ print "FATAL: Unable to start to '%s' UI due to exception: %s." % (configuration.ui, e)
finally:
serverConnection.terminate()
return return_value