diff options
author | Rob Bradford <rob@linux.intel.com> | 2008-10-23 14:58:36 +0100 |
---|---|---|
committer | Rob Bradford <rob@linux.intel.com> | 2008-10-23 14:58:36 +0100 |
commit | 87fe772b8a208d3366be9ab3b605b2e8edda6b50 (patch) | |
tree | e15fa96ca2f38bbc61e896cbea8495b7de8be186 /bitbake-dev | |
parent | c26d6cfda09cb78aead92a9f868d0730ad1ad181 (diff) | |
download | poky-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.py | 2 | ||||
-rw-r--r-- | bitbake-dev/lib/bb/ui/knotty.py | 4 |
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'|/-\\' ) | |||
32 | def init(server, eventHandler): | 32 | def 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"]) |