summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/ui/hob.py
diff options
context:
space:
mode:
authorJoshua Lock <josh@linux.intel.com>2011-07-13 16:01:43 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-07-26 20:15:47 +0100
commit5c3f42dbcf4d1b6ed21f50be95b4fb39eb7ae3c0 (patch)
tree15c71859b23567f06a8ff5462ea373a0c88867b6 /bitbake/lib/bb/ui/hob.py
parentf7233d7612c01886233c4627547aec6eecd28256 (diff)
downloadpoky-5c3f42dbcf4d1b6ed21f50be95b4fb39eb7ae3c0.tar.gz
ui/hob: replace the ugly static command map
The command_map was never a good idea, what's implemented here is a fraction less ugly but a significant factor more readable and therefore easy to maintain. The method implemented in this patch also has the advantage of not being static meaning we can determine the desired runCommand arguments dynamically at call time. (Bitbake rev: 8b11c68ffcda355d0ba49cfc27790d245192ae24) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/ui/hob.py')
-rw-r--r--bitbake/lib/bb/ui/hob.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bitbake/lib/bb/ui/hob.py b/bitbake/lib/bb/ui/hob.py
index 09a63c6717..448d590e49 100644
--- a/bitbake/lib/bb/ui/hob.py
+++ b/bitbake/lib/bb/ui/hob.py
@@ -929,7 +929,7 @@ def main (server, eventHandler):
929 929
930 try: 930 try:
931 # kick the while thing off 931 # kick the while thing off
932 handler.current_command = "findConfigFilePathLocal" 932 handler.current_command = handler.CFG_PATH_LOCAL
933 server.runCommand(["findConfigFilePath", "local.conf"]) 933 server.runCommand(["findConfigFilePath", "local.conf"])
934 except xmlrpclib.Fault: 934 except xmlrpclib.Fault:
935 print("XMLRPC Fault getting commandline:\n %s" % x) 935 print("XMLRPC Fault getting commandline:\n %s" % x)