bitbake: Fix UI failure exception handling with python 2.6

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
This commit is contained in:
Richard Purdie 2010-01-21 23:49:50 +00:00
parent 5ebad0d500
commit 37f8e24ce3
1 changed files with 1 additions and 1 deletions

View File

@ -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