コード例 #1
0
 def __init__(self, out=None, system=None):
     Job.__init__(self, out, system)
     self.argumentPseudonyms['d'] = DconfDumperAdapter
     self.argumentPseudonyms['dconf'] = DconfDumperAdapter
     self.argumentPseudonyms['g'] = GconfDumperAdapter
     self.argumentPseudonyms['gconf'] = GconfDumperAdapter
     self.argumentPseudonyms['x'] = XfceDumperAdapter
     self.argumentPseudonyms['xfce'] = XfceDumperAdapter
     self.arguments[DconfDumperAdapter] = False
     self.arguments[GconfDumperAdapter] = False
     self.arguments[XfceDumperAdapter] = False
コード例 #2
0
 def __init__(self, **kwargs):
     Job.__init__(self, **kwargs)
     self.requireUserConfig('loginScriptFolder', str, "Where do you want to keep your stored profiles?")
     self.config['installedOsProfilesFolder'] = '/usr/local/share/installed-profiles'
     self.config['lastLoggedInOsHash'] = ''