Changing the name of this command makes it more consistent with other command
names.
"""
return command.cooker.commandlineAction
- def readVariable(self, command, params):
+ def getVariable(self, command, params):
"""
Read the value of a variable from configuration.data
"""
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"])