mirror of
https://git.yoctoproject.org/poky
synced 2026-06-03 01:40:07 +00:00
bitbake-dev: rename readVariable to getVariable
Changing the name of this command makes it more consistent with other command names.
This commit is contained in:
@@ -114,7 +114,7 @@ class CommandsSync:
|
|||||||
"""
|
"""
|
||||||
return command.cooker.commandlineAction
|
return command.cooker.commandlineAction
|
||||||
|
|
||||||
def readVariable(self, command, params):
|
def getVariable(self, command, params):
|
||||||
"""
|
"""
|
||||||
Read the value of a variable from configuration.data
|
Read the value of a variable from configuration.data
|
||||||
"""
|
"""
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ parsespin = itertools.cycle( r'|/-\\' )
|
|||||||
def init(server, eventHandler):
|
def init(server, eventHandler):
|
||||||
|
|
||||||
# Get values of variables which control our output
|
# Get values of variables which control our output
|
||||||
includelogs = server.runCommand(["readVariable", "BBINCLUDELOGS"])
|
includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"])
|
||||||
loglines = server.runCommand(["readVariable", "BBINCLUDELOGS_LINES"])
|
loglines = server.runCommand(["getVariable", "BBINCLUDELOGS_LINES"])
|
||||||
|
|
||||||
try:
|
try:
|
||||||
cmdline = server.runCommand(["getCmdLineAction"])
|
cmdline = server.runCommand(["getCmdLineAction"])
|
||||||
|
|||||||
Reference in New Issue
Block a user