diff options
author | Martin Sivak <msivak@redhat.com> | 2013-03-22 10:58:45 +0100 |
---|---|---|
committer | Martin Sivak <msivak@redhat.com> | 2013-03-22 10:58:45 +0100 |
commit | 2590c7d3fc377c1e2774e53f35b6483a8619081d (patch) | |
tree | e5ae7190a5c67eae57e48c852e26f8e7dcdfb80d | |
parent | e216b573d9b0e82fb739c1b0c18d09da8e117658 (diff) | |
download | firstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.tar.gz firstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.tar.xz firstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.zip |
Initialize anaconda threading properly
-rw-r--r-- | initial_setup/__main__.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/initial_setup/__main__.py b/initial_setup/__main__.py index a46636f..c2ea58d 100644 --- a/initial_setup/__main__.py +++ b/initial_setup/__main__.py @@ -29,6 +29,12 @@ addon_module_paths = collect_addon_paths(addon_paths) from pyanaconda import anaconda_log anaconda_log.init() + +# init threading before Gtk can do anything and before we start using threads +# initThreading initializes the threadMgr instance, import it afterwards +from pyanaconda.threads import initThreading +initThreading() + from pyanaconda import kickstart # Construct a commandMap with the supported Anaconda's commands only |