From 4d081a0ed759bd526ab01849d650bd9e8d80ddd1 Mon Sep 17 00:00:00 2001 From: Chris Larson Date: Thu, 9 Dec 2010 14:05:22 -0500 Subject: Rename the ui 'init' method to 'main' As these may run the UI in a blocking fashion and then return the exit code, 'init' was an inappropriate name, and 'main' is more appropriate. Signed-off-by: Chris Larson --- lib/bb/ui/knotty.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/bb/ui/knotty.py') diff --git a/lib/bb/ui/knotty.py b/lib/bb/ui/knotty.py index dea1fd99a..a60c1853a 100644 --- a/lib/bb/ui/knotty.py +++ b/lib/bb/ui/knotty.py @@ -66,7 +66,7 @@ class BBLogFormatter(logging.Formatter): else: return logging.Formatter.format(self, record) -def init(server, eventHandler): +def main(server, eventHandler): # Get values of variables which control our output includelogs = server.runCommand(["getVariable", "BBINCLUDELOGS"]) -- cgit 1.2.3-korg