def __create_input(self, main_root):
		content = self.__manager.load_content()
		input_dir = os.path.join(main_root,'input')
		try:
			content.get(self.__task.data['id'], 'input', os.path.join(main_root, 'input'))
		except:
			safe_mkdir(input_dir)
def __init__(self, host, loginUser, debug = False, trace = False, log=None, port=22, pexpectObject=None):
        self.pexpect = pexpect if not pexpectObject else pexpectObject
        self.debug = debug
        self.trace = trace
        self.host = host
        self._port = port
        self._connection = None
        self.modeList = []
        self._log = log
        self._bufferedCommands = None
        self._bufferedMode = None
        self._loginUser = loginUser
        self._resetExpect()