summaryrefslogtreecommitdiffstats
path: root/lib/bb/ui/knotty.py
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2008-04-06 19:52:09 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2008-04-06 19:52:09 +0000
commite85b699179d7a09bc029443a10df3cb636af3930 (patch)
tree852f18b6d0fe31c74eb30a0d1f39c000da2b00ac /lib/bb/ui/knotty.py
parent5e1b4cba247d9219c7c920a1ce9d1990a37fc733 (diff)
downloadbitbake-e85b699179d7a09bc029443a10df3cb636af3930.tar.gz
knotty.py: Rename frontend to server to make things a bit clearer
Diffstat (limited to 'lib/bb/ui/knotty.py')
-rw-r--r--lib/bb/ui/knotty.py14
1 files changed, 7 insertions, 7 deletions
diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py
index 12c1b3838..9e8966030 100644
--- a/lib/bb/ui/knotty.py
+++ b/lib/bb/ui/knotty.py
@@ -29,18 +29,18 @@ import xmlrpclib
parsespin = itertools.cycle( r'|/-\\' )
-def init(frontend, eventHandler):
+def init(server, eventHandler):
# Get values of variables which control our output
- includelogs = frontend.runCommand(["readVariable", "BBINCLUDELOGS"])
- loglines = frontend.runCommand(["readVariable", "BBINCLUDELOGS_LINES"])
+ includelogs = server.runCommand(["readVariable", "BBINCLUDELOGS"])
+ loglines = server.runCommand(["readVariable", "BBINCLUDELOGS_LINES"])
try:
- cmdline = frontend.runCommand(["getCmdLineAction"])
+ cmdline = server.runCommand(["getCmdLineAction"])
#print cmdline
if not cmdline:
return 1
- ret = frontend.runCommand(cmdline)
+ ret = server.runCommand(cmdline)
if ret != True:
print "Couldn't get default commandline! %s" % ret
return 1
@@ -148,10 +148,10 @@ def init(frontend, eventHandler):
break
if shutdown == 1:
print "\nSecond Keyboard Interrupt, stopping...\n"
- frontend.runCommand(["stateStop"])
+ server.runCommand(["stateStop"])
if shutdown == 0:
print "\nKeyboard Interrupt, closing down...\n"
- frontend.runCommand(["stateShutdown"])
+ server.runCommand(["stateShutdown"])
shutdown = shutdown + 1
pass
return return_value