From 87fe772b8a208d3366be9ab3b605b2e8edda6b50 Mon Sep 17 00:00:00 2001 From: Rob Bradford Date: Thu, 23 Oct 2008 14:58:36 +0100 Subject: bitbake-dev: rename readVariable to getVariable Changing the name of this command makes it more consistent with other command names. --- bitbake-dev/lib/bb/command.py | 2 +- bitbake-dev/lib/bb/ui/knotty.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'bitbake-dev') 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: """ 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 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'|/-\\' ) 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"]) -- cgit v1.2.3-54-g00ecf