def __init__(self): # Default connection options self.config = make_defaults_struct(extras_defaults=LAUNCHER_DEFAULTS, extras_types=LAUNCHER_OPTION_TYPES, extras_validation=self.get_launcher_validation()) self.parse_ssh() #TODO: the fixup does not belong here? from xpra.scripts.main import fixup_options fixup_options(self.config) #what we save by default: self.config_keys = set(SAVED_FIELDS) self.client = None self.exit_launcher = False self.exit_code = None self.current_error = None
def __init__(self): # Default connection options self.config = make_defaults_struct(extras_defaults=LAUNCHER_DEFAULTS, extras_types=LAUNCHER_OPTION_TYPES, extras_validation=self.get_launcher_validation()) #TODO: the fixup does not belong here? from xpra.scripts.main import fixup_options fixup_options(self.config) #what we save by default: self.config_keys = set(SAVED_FIELDS) def raise_exception(*args): raise Exception(*args) self.client = make_client(raise_exception, self.config) self.client.init(self.config) self.exit_code = None
def __init__(self): # Default connection options self.config = make_defaults_struct(extras_defaults=LAUNCHER_DEFAULTS, extras_types=LAUNCHER_OPTION_TYPES, extras_validation=LAUNCHER_VALIDATION) #TODO: the fixup does not belong here? from xpra.scripts.main import fixup_options fixup_options(self.config) #what we save by default: self.config_keys = set(SAVED_FIELDS) def raise_exception(*args): raise Exception(*args) self.client = make_client(raise_exception, self.config) self.client.init(self.config) self.exit_code = None