diff options
-rwxr-xr-x | bitbake-dev/bin/bitbake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake index 920877e4d8..87c3a94083 100755 --- a/bitbake-dev/bin/bitbake +++ b/bitbake-dev/bin/bitbake | |||
@@ -160,7 +160,7 @@ Default BBFILES are the .bb files in the current directory.""" ) | |||
160 | # suggest a fixed set this allows you to have flexibility in which | 160 | # suggest a fixed set this allows you to have flexibility in which |
161 | # ones are available. | 161 | # ones are available. |
162 | exec "from bb.ui import " + ui | 162 | exec "from bb.ui import " + ui |
163 | exec ui + ".init(server, eventHandler)" | 163 | exec "return_value = " + ui + ".init(server, eventHandler)" |
164 | except ImportError: | 164 | except ImportError: |
165 | print "FATAL: Invalid user interface '%s' specified. " % ui | 165 | print "FATAL: Invalid user interface '%s' specified. " % ui |
166 | print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." | 166 | print "Valid interfaces are 'ncurses', 'depexp' or the default, 'knotty'." |