Exemple #1
0
    def run_console(self):
        opts = read_config(self.home_dir)
        opts.home_dir = self.home_dir
        langs[opts.lang].install()
        countries.install(opts.lang)
        self.lang = opts.lang
        from state import Current
        from boss import Manager

        state = Current(self)
        init_config(self.home_dir, opts, state)
        boss = Manager(self, opts, state)
        boss.ipshell = init_ipshell()
        boss.ipshell()