Sfoglia il codice sorgente

Drop the 'ui failed to start' message, as the ui_init does more in knotty

Signed-off-by: Chris Larson <chris_larson@mentor.com>
Chris Larson 13 anni fa
parent
commit
39087138ff
1 ha cambiato i file con 1 aggiunte e 5 eliminazioni
  1. 1 5
      bin/bitbake

+ 1 - 5
bin/bitbake

@@ -198,11 +198,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'.")
     else:
-        try:
-            return_value = ui_init(serverConnection.connection, serverConnection.events)
-        except Exception as e:
-            print("FATAL: Unable to start to '%s' UI: %s" % (ui, e))
-            raise
+        return_value = ui_init(serverConnection.connection, serverConnection.events)
     finally:
         serverConnection.terminate()