Exemple #1
0
		reactor.doShutdown()

except ImportError:
	print "twisted not available"
	def runReactor():
		runMainloop()

profile("LOAD:API")
from API import registerAPIs
registerAPIs()

profile("LOAD:Plugin")
# initialize autorun plugins and plugin menu entries
from Components.PluginComponent import plugins
from Plugins.Plugin import PluginDescriptor
plugins.runEarlyPlugins(resolveFilename(SCOPE_PLUGINS))

profile("LOAD:Wizard")
from Screens.Wizard import wizardManager
from Screens.DefaultWizard import *
from Screens.StartWizard import *
from Screens.TutorialWizard import *
import Screens.Rc
from Tools.BoundFunction import boundFunction

profile("misc")
had = dict()

def dump(dir, p = ""):
	if isinstance(dir, dict):
		for (entry, val) in dir.items():
Exemple #2
0
except ImportError:
    print "twisted not available"

    def runReactor():
        runMainloop()


profile("LOAD:API")
from API import registerAPIs
registerAPIs()

profile("LOAD:Plugin")
# initialize autorun plugins and plugin menu entries
from Components.PluginComponent import plugins
from Plugins.Plugin import PluginDescriptor
plugins.runEarlyPlugins(resolveFilename(SCOPE_PLUGINS))

profile("LOAD:Wizard")
from Screens.Wizard import wizardManager
from Screens.DefaultWizard import *
from Screens.StartWizard import *
from Screens.TutorialWizard import *
import Screens.Rc
from Tools.BoundFunction import boundFunction

profile("misc")
had = dict()


def dump(dir, p=""):
    if isinstance(dir, dict):