summaryrefslogtreecommitdiffstats
path: root/lib/bb/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/bb/command.py')
-rw-r--r--lib/bb/command.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/bb/command.py b/lib/bb/command.py
index 36891b923..eb7c86f4f 100644
--- a/lib/bb/command.py
+++ b/lib/bb/command.py
@@ -238,6 +238,11 @@ class CommandsSync:
return command.cooker.matchFile(fMatch)
matchFile.needconfig = False
+ def getUIHandlerNum(self, command, params):
+ return bb.event.get_uihandler()
+ getUIHandlerNum.needconfig = False
+ getUIHandlerNum.readonly = True
+
def setEventMask(self, command, params):
handlerNum = params[0]
llevel = params[1]