From 37f8e24ce3abb815652e5e7770c384d70a5cb5aa Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Thu, 21 Jan 2010 23:49:50 +0000 Subject: bitbake: Fix UI failure exception handling with python 2.6 Signed-off-by: Richard Purdie --- bitbake/bin/bitbake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/bin/bitbake') 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 -- cgit 1.2.3-korg