summaryrefslogtreecommitdiffstats
path: root/bitbake-dev
diff options
context:
space:
mode:
authorRob Bradford <rob@linux.intel.com>2008-10-23 14:58:36 +0100
committerRob Bradford <rob@linux.intel.com>2008-10-23 14:58:36 +0100
commit87fe772b8a208d3366be9ab3b605b2e8edda6b50 (patch)
treee15fa96ca2f38bbc61e896cbea8495b7de8be186 /bitbake-dev
parentc26d6cfda09cb78aead92a9f868d0730ad1ad181 (diff)
downloadpoky-87fe772b8a208d3366be9ab3b605b2e8edda6b50.tar.gz
bitbake-dev: rename readVariable to getVariable
Changing the name of this command makes it more consistent with other command names.
Diffstat (limited to 'bitbake-dev')
-rw-r--r--bitbake-dev/lib/bb/command.py2
-rw-r--r--bitbake-dev/lib/bb/ui/knotty.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/bitbake-dev/lib/bb/command.py b/bitbake-dev/lib/bb/command.py
index 7cee1d5d36..293202be54 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -114,7 +114,7 @@ class CommandsSync:
114 """ 114 """
115 return command.cooker.commandlineAction 115 return command.cooker.commandlineAction
116 116
117 def readVariable(self, command, params): 117 def getVariable(self, command, params):
118 """ 118 """
119 Read the value of a variable from configuration.data 119 Read the value of a variable from configuration.data
120 """ 120 """
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 5e7544ea03..4b4d6b03af 100644
--- a/bitbake-dev/lib/bb/ui/knotty.py
+++ b/bitbake-dev/lib/bb/ui/knotty.py
@@ -32,8 +32,8 @@ parsespin = itertools.cycle( r'|/-\\' )
32def init(server, eventHandler): 32def init(server, eventHandler):
33 33
34 # Get values of variables which control our output 34 # Get values of variables which control our output
35 includelogs = server.runCommand(["readVariable", "BBINCLUDELOGS"]) 35 includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"])
36 loglines = server.runCommand(["readVariable", "BBINCLUDELOGS_LINES"]) 36 loglines = server.runCommand(["getVariable", "BBINCLUDELOGS_LINES"])
37 37
38 try: 38 try:
39 cmdline = server.runCommand(["getCmdLineAction"]) 39 cmdline = server.runCommand(["getCmdLineAction"])