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

Submitted by Ross Burton on March 10, 2014, 3:28 p.m.

Details

Message ID 1394465328-12842-1-git-send-email-ross.burton@intel.com
State New
Headers show

Commit Message

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 hide | download patch | download mbox

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":