summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Sivak <msivak@redhat.com>2013-03-22 10:58:45 +0100
committerMartin Sivak <msivak@redhat.com>2013-03-22 10:58:45 +0100
commit2590c7d3fc377c1e2774e53f35b6483a8619081d (patch)
treee5ae7190a5c67eae57e48c852e26f8e7dcdfb80d
parente216b573d9b0e82fb739c1b0c18d09da8e117658 (diff)
downloadfirstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.tar.gz
firstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.tar.xz
firstboot2-2590c7d3fc377c1e2774e53f35b6483a8619081d.zip
Initialize anaconda threading properly
-rw-r--r--initial_setup/__main__.py6
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