summaryrefslogtreecommitdiff
path: root/bitbake-dev/lib
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/lib
parentc26d6cfda09cb78aead92a9f868d0730ad1ad181 (diff)
downloadopenembedded-core-87fe772b8a208d3366be9ab3b605b2e8edda6b50.tar.gz
openembedded-core-87fe772b8a208d3366be9ab3b605b2e8edda6b50.tar.bz2
openembedded-core-87fe772b8a208d3366be9ab3b605b2e8edda6b50.tar.xz
openembedded-core-87fe772b8a208d3366be9ab3b605b2e8edda6b50.zip
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/lib')
-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 7cee1d5d3..293202be5 100644
--- a/bitbake-dev/lib/bb/command.py
+++ b/bitbake-dev/lib/bb/command.py
@@ -114,7 +114,7 @@ class CommandsSync:
"""
return command.cooker.commandlineAction
- def readVariable(self, command, params):
+ def getVariable(self, command, params):
"""
Read the value of a variable from configuration.data
"""
diff --git a/bitbake-dev/lib/bb/ui/knotty.py b/bitbake-dev/lib/bb/ui/knotty.py
index 5e7544ea0..4b4d6b03a 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'|/-\\' )
def init(server, eventHandler):
# Get values of variables which control our output
- includelogs = server.runCommand(["readVariable", "BBINCLUDELOGS"])
- loglines = server.runCommand(["readVariable", "BBINCLUDELOGS_LINES"])
+ includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"])
+ loglines = server.runCommand(["getVariable", "BBINCLUDELOGS_LINES"])
try:
cmdline = server.runCommand(["getCmdLineAction"])