Patchwork [bitbake-devel] bitbake: fix typo in variable name

login
register
mail settings
Submitter Ross Burton
Date March 10, 2014, 3:28 p.m.
Message ID <1394465328-12842-1-git-send-email-ross.burton@intel.com>
Download mbox | patch
Permalink /patch/68365/
State New
Headers show

Comments

Ross Burton - March 10, 2014, 3:28 p.m.
When passing -t with an incorrect server type, the error message was using a
variable that doesn't exist.

Signed-off-by: Ross Burton <ross.burton@intel.com>
---
 bitbake/bin/bitbake |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/bitbake/bin/bitbake b/bitbake/bin/bitbake
index cbfd2c9..5c0b2d4 100755
--- a/bitbake/bin/bitbake
+++ b/bitbake/bin/bitbake
@@ -259,7 +259,7 @@  def main():
         servermodule = getattr(module, server_type)
     except AttributeError:
         sys.exit("FATAL: Invalid server type '%s' specified.\n"
-                 "Valid interfaces: xmlrpc, process [default]." % servertype)
+                 "Valid interfaces: xmlrpc, process [default]." % server_type)
 
     if configParams.server_only:
         if configParams.servertype != "xmlrpc":