]> code.ossystems Code Review - openembedded-core.git/commitdiff
bitbake: Fix UI failure exception handling with python 2.6
authorRichard Purdie <rpurdie@linux.intel.com>
Thu, 21 Jan 2010 23:49:50 +0000 (23:49 +0000)
committerRichard Purdie <rpurdie@linux.intel.com>
Thu, 21 Jan 2010 23:49:50 +0000 (23:49 +0000)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
bitbake/bin/bitbake

index 23c9d73ee40f7c1f371e69f77a1608a1a41f283d..bc6ce08378bc796585e080fcc69f06d54a8a6391 100755 (executable)
@@ -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