diff options
-rwxr-xr-x | bitbake-dev/bin/bitbake | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/bitbake-dev/bin/bitbake b/bitbake-dev/bin/bitbake index ea4147e971..1f650e2bdc 100755 --- a/bitbake-dev/bin/bitbake +++ b/bitbake-dev/bin/bitbake | |||
@@ -168,12 +168,6 @@ Default BBFILES are the .bb files in the current directory.""" ) | |||
168 | # Launch the UI | 168 | # Launch the UI |
169 | try: | 169 | try: |
170 | if curseUI: | 170 | if curseUI: |
171 | try: | ||
172 | import curses | ||
173 | except ImportError, details: | ||
174 | curseUI = False | ||
175 | |||
176 | if curseUI: | ||
177 | from bb.ui import ncurses | 171 | from bb.ui import ncurses |
178 | ncurses.init(server, eventHandler) | 172 | ncurses.init(server, eventHandler) |
179 | elif depexplorerUI: | 173 | elif depexplorerUI: |
@@ -182,7 +176,8 @@ Default BBFILES are the .bb files in the current directory.""" ) | |||
182 | else: | 176 | else: |
183 | from bb.ui import knotty | 177 | from bb.ui import knotty |
184 | return_value = knotty.init(server, eventHandler) | 178 | return_value = knotty.init(server, eventHandler) |
185 | 179 | except Exception, e: | |
180 | print "FATAL: Unable to start to '%s' UI: %s" % (configuration.ui, e.message) | ||
186 | finally: | 181 | finally: |
187 | # Don't wait for server indefinitely | 182 | # Don't wait for server indefinitely |
188 | import socket | 183 | import socket |