From 9af03a89605e3db9bce3cea1e0f2d0b6cfaa6fe1 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Tue, 28 May 2013 14:28:30 +0100 Subject: server: Remove none server The process server backend has been serving well as the default for a long time now and the UI model is much better thought out that it used to be. With the move to make bitbake a memory resident process, the none server is now looking rather pointless and complicates the code needlessly. Lets therefore now remove it. Signed-off-by: Richard Purdie --- bin/bitbake | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'bin/bitbake') diff --git a/bin/bitbake b/bin/bitbake index ac35b94e3..a868557a1 100755 --- a/bin/bitbake +++ b/bin/bitbake @@ -167,7 +167,7 @@ class BitBakeConfigParameters(cookerdata.ConfigParameters): parser.add_option("-u", "--ui", help = "userinterface to use", action = "store", dest = "ui") - parser.add_option("-t", "--servertype", help = "Choose which server to use, none, process or xmlrpc", + parser.add_option("-t", "--servertype", help = "Choose which server to use, process or xmlrpc", action = "store", dest = "servertype") parser.add_option("", "--revisions-changed", help = "Set the exit code depending on whether upstream floating revisions have changed or not", @@ -191,7 +191,7 @@ def main(): ui_main = get_ui(configuration) - # Server type can be xmlrpc, process or none currently, if nothing is specified, + # Server type can be xmlrpc or process currently, if nothing is specified, # the default server is process if configParams.servertype: server_type = configParams.servertype @@ -203,7 +203,7 @@ def main(): server = getattr(module, server_type) except AttributeError: sys.exit("FATAL: Invalid server type '%s' specified.\n" - "Valid interfaces: xmlrpc, process [default], none." % servertype) + "Valid interfaces: xmlrpc, process [default]." % servertype) if configParams.server_only: if configParams.servertype != "xmlrpc": -- cgit 1.2.3-korg