From c8d2dad04960746d38d28bb2c5aba8363534541a 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. (Bitbake rev: 4d081a0ed759bd526ab01849d650bd9e8d80ddd1) Signed-off-by: Chris Larson Signed-off-by: Richard Purdie --- bitbake/lib/bb/ui/puccho.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bitbake/lib/bb/ui/puccho.py') diff --git a/bitbake/lib/bb/ui/puccho.py b/bitbake/lib/bb/ui/puccho.py index a627fc803f..3ce4590c16 100644 --- a/bitbake/lib/bb/ui/puccho.py +++ b/bitbake/lib/bb/ui/puccho.py @@ -390,7 +390,7 @@ def running_build_failed_cb (running_build, manager): print("build failed") manager.notify_build_failed () -def init (server, eventHandler): +def main (server, eventHandler): # Initialise threading... gobject.threads_init() gtk.gdk.threads_init() -- cgit v1.2.3-54-g00ecf