Esempio n. 1
0
 def __init__(self, appname, daemonized=False):
     self._console = None
     Session.__init__(self, appname, daemonized)
     # prompt color
     self._pscolor = 'reset'
     # showing prompt?
     self._prompting = False
     # our command completer for Python code
     self._completer = NicosCompleter(self.namespace).complete
Esempio n. 2
0
 def __init__(self, appname, daemonized=False):
     old_setup_info = getattr(self, '_setup_info', {})
     Session.__init__(self, appname, daemonized)
     self._setup_info = old_setup_info
     self._setup_paths = (path.join(module_root, 'test', 'setups'), )
     self._user_level = system_user.level