bugged
stringlengths
4
228k
fixed
stringlengths
0
96.3M
__index_level_0__
int64
0
481k
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,500
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,501
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,502
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,503
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,504
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,505
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
def check_user(user, minimal = minimal, batch = batch, auto_answer = auto_answer):
478,506
def user_exists(uid = None, login = None): if uid: return UsersController.users.has_key(uid) if login: return UsersController.login_cache.has_key(login)
def user_exists(uid = None, login = None): if uid: return UsersController.users.has_key(uid) if login: return UsersController.login_cache.has_key(login)
478,507
def login_to_uid(login): """ Return the uid of the user 'login' """ try: # use the cache, Luke ! return UsersController.login_cache[login] except KeyError: try: int(login) logging.warning("You passed an uid to login_to_uid(): %d (guess its login is « %s » )." % (login, UsersController.users[login]['login'])) except Val...
def login_to_uid(login): """ Return the uid of the user 'login' """ try: # use the cache, Luke ! return UsersController.login_cache[login] except KeyError: try: int(login) logging.warning("You passed an uid to login_to_uid():" " %d (guess its login is « %s » )." % ( login, UsersController.users[login]['login'])) except...
478,508
def login_to_uid(login): """ Return the uid of the user 'login' """ try: # use the cache, Luke ! return UsersController.login_cache[login] except KeyError: try: int(login) logging.warning("You passed an uid to login_to_uid(): %d (guess its login is « %s » )." % (login, UsersController.users[login]['login'])) except Val...
def login_to_uid(login): """ Return the uid of the user 'login' """ try: # use the cache, Luke ! return UsersController.login_cache[login] except KeyError: try: int(login) logging.warning("You passed an uid to login_to_uid(): %d (guess its login is « %s » )." % (login, UsersController.users[login]['login'])) except Val...
478,509
def is_system_uid(uid): """ Return true if uid is system.""" return uid < UsersController.configuration.users.uid_min or uid > UsersController.configuration.users.uid_max
def is_system_uid(uid): """ Return true if uid is system.""" return uid < UsersController.configuration.users.uid_min or uid > UsersController.configuration.users.uid_max
478,510
def is_system_login(login): """ return true if login is system. """ try: return UsersController.is_system_uid(UsersController.login_cache[login]) except KeyError: raise exceptions.LicornRuntimeException(logging.SYSU_USER_DOESNT_EXIST % login)
def is_system_login(login): """ return true if login is system. """ try: return UsersController.is_system_uid( UsersController.login_cache[login]) except KeyError: raise exceptions.LicornRuntimeException(logging.SYSU_USER_DOESNT_EXIST % login)
478,511
def is_system_login(login): """ return true if login is system. """ try: return UsersController.is_system_uid(UsersController.login_cache[login]) except KeyError: raise exceptions.LicornRuntimeException(logging.SYSU_USER_DOESNT_EXIST % login)
def is_system_login(login): """ return true if login is system. """ try: return UsersController.is_system_uid(UsersController.login_cache[login]) except KeyError: raise exceptions.LicornRuntimeException(logging.SYSU_USER_DOESNT_EXIST % login)
478,512
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
478,513
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
478,514
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
def make_login(lastname = "", firstname = "", inputlogin = ""): """ Make a valid login from user's firstname and lastname."""
478,515
def primary_group(login = None, uid = None): if login: return UsersController.users[UsersController.login_cache[login]]['primary_group'] if uid: return UsersController.users[uid]['primary_group']
def primary_group(login = None, uid = None): if login: return UsersController.users[UsersController.login_cache[login]]['primary_group'] if uid: return UsersController.users[uid]['primary_group']
478,516
def serve_virtual_uri(self): """ Serve dynamic URIs with our own code, and create pages on the fly. """
def serve_virtual_uri(self): """ Serve dynamic URIs with our own code, and create pages on the fly. """
478,517
def strip_dates(str): """ strip dates from warnings and traces, else outputs and references always compare false .""" return re.sub(r'(\.\d\d\d\d\d\d\d\d-\d\d\d\d\d\d|\s\[\d\d\d\d/\d\d/\d\d\s\d\d:\d\d:\d\d\.\d\d\d\d\]\s)', r' [D/T] ', str)
def strip_moving_data(str): """ strip dates from warnings and traces, else outputs and references always compare false .""" return re.sub(r'(\.\d\d\d\d\d\d\d\d-\d\d\d\d\d\d|\s\[\d\d\d\d/\d\d/\d\d\s\d\d:\d\d:\d\d\.\d\d\d\d\]\s)', r' [D/T] ', str)
478,518
def strip_dates(str): """ strip dates from warnings and traces, else outputs and references always compare false .""" return re.sub(r'(\.\d\d\d\d\d\d\d\d-\d\d\d\d\d\d|\s\[\d\d\d\d/\d\d/\d\d\s\d\d:\d\d:\d\d\.\d\d\d\d\]\s)', r' [D/T] ', str)
def strip_dates(str): """ strip dates from warnings and traces, else outputs and references always compare false .""" return re.sub(r'(\.\d\d\d\d\d\d\d\d-\d\d\d\d\d\d|\s\[\d\d\d\d/\d\d/\d\d\s\d\d:\d\d:\d\d\.\d\d\d\d\]\s)', r' [D/T] ', str)
478,519
def SaveOutput(self, cmdnum, output, code):
def SaveOutput(self, cmdnum, output, code):
478,520
def RunCommand(self, cmdnum, batch=False):
def RunCommand(self, cmdnum, batch=False):
478,521
def RunCommand(self, cmdnum, batch=False):
defRunCommand(self,cmdnum,batch=False):
478,522
def RunCommand(self, cmdnum, batch=False):
def RunCommand(self, cmdnum, batch=False):
478,523
def RunCommand(self, cmdnum, batch=False):
def RunCommand(self, cmdnum, batch=False):
478,524
def SaveOutput(self, cmdnum, output, code):
def SaveOutput(self, cmdnum, output, code):
478,525
def SaveOutput(self, cmdnum, output, code):
def SaveOutput(self, cmdnum, output, code):
478,526
def RunCommand(self, cmdnum, batch=False):
def RunCommand(self, cmdnum, batch=False):
478,527
def add_user(opts, args): """ Add a user account on the system. """ configuration = LicornConfiguration() users = UsersController(configuration) groups = GroupsController(configuration, users) if opts.profile: profiles = ProfilesController(configuration, groups, users) if opts.firstname is None: firstname = None els...
def add_user(opts, args): """ Add a user account on the system. """ configuration = LicornConfiguration() users = UsersController(configuration) groups = GroupsController(configuration, users) if opts.profile: profiles = ProfilesController(configuration, groups, users) if opts.firstname is None: firstname = None els...
478,528
def DeleteGroup(self, name, del_users, no_archive, bygid=None, batch=False): """ Delete an Licorn group """ if name is None and bygid is None: raise exceptions.BadArgumentError( "You must specify a name or a GID.")
def DeleteGroup(self, name, del_users, no_archive, bygid=None, batch=False): """ Delete an Licorn group """ if name is None and bygid is None: raise exceptions.BadArgumentError( "You must specify a name or a GID.")
478,529
def DeleteGroup(self, name, del_users, no_archive, bygid=None, batch=False): """ Delete an Licorn group """ if name is None and bygid is None: raise exceptions.BadArgumentError( "You must specify a name or a GID.")
def DeleteGroup(self, name, del_users, no_archive, bygid=None, batch=False): """ Delete an Licorn group """ if name is None and bygid is None: raise exceptions.BadArgumentError( "You must specify a name or a GID.")
478,530
def del_group(opts, args): """ delete an Licorn group. """ configuration = LicornConfiguration() users = UsersController(configuration) groups = GroupsController(configuration, users, warnings=False) profiles = ProfilesController(configuration, groups, users) gids_to_del = cli_select(groups, 'group', args, [ (opts.na...
def del_group(opts, args): """ delete an Licorn group. """ configuration = LicornConfiguration() users = UsersController(configuration) groups = GroupsController(configuration, users, warnings=False) profiles = ProfilesController(configuration, groups, users) gids_to_del = cli_select(groups, 'group', args, [ (opts.na...
478,531
def user_authorized(self): """ Return True if authorization exists AND user is authorized."""
def user_authorized(self): """ Return True if authorization exists AND user is authorized."""
478,532
def user_authorized(self): """ Return True if authorization exists AND user is authorized."""
def user_authorized(self): """ Return True if authorization exists AND user is authorized."""
478,533
def head(title = _("administration %s") % configuration.app_name): """Build the HTML Page header. Bubble Tooltips come from: http://www.dustindiaz.com/sweet-titles Rounded Divs comme from : http://www.html.it/articoli/niftycube/index.html """ return """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://w...
def head(title = _("administration %s") % configuration.app_name): """Build the HTML Page header. Bubble Tooltips come from: http://www.dustindiaz.com/sweet-titles Rounded Divs comme from : http://www.html.it/articoli/niftycube/index.html """ return """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://w...
478,534
def head(title = _("administration %s") % configuration.app_name): """Build the HTML Page header. Bubble Tooltips come from: http://www.dustindiaz.com/sweet-titles Rounded Divs comme from : http://www.html.it/articoli/niftycube/index.html """ return """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://w...
def head(title = _("administration %s") % configuration.app_name): """Build the HTML Page header. Bubble Tooltips come from: http://www.dustindiaz.com/sweet-titles Rounded Divs comme from : http://www.html.it/articoli/niftycube/index.html """ return """<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://w...
478,535
def test_profiles(context): """Test the applying feature of profiles.""" pname = 'profil_test' gname = 'group_test' #fix #271 ScenarioTest([ ADD + [ 'profile', '--name=%s' % pname, '-v' ], GET + [ 'profiles' ], ADD + [ 'group', '--name=%s' % gname, '--system', '-v' ], ADD + [ 'group', '--name=%s2' % gname, '--system'...
def test_profiles(context): """Test the applying feature of profiles.""" pname = 'profil_test' gname = 'group_test' #fix #271 ScenarioTest([ ADD + [ 'profile', '--name=%s' % pname, '-v' ], GET + [ 'profiles' ], ADD + [ 'group', '--name=%s' % gname, '--system', '-v' ], ADD + [ 'group', '--name=%s2' % gname, '--system'...
478,536
def test_profiles(context): """Test the applying feature of profiles.""" pname = 'profil_test' gname = 'group_test' #fix #271 ScenarioTest([ ADD + [ 'profile', '--name=%s' % pname, '-v' ], GET + [ 'profiles' ], ADD + [ 'group', '--name=%s' % gname, '--system', '-v' ], ADD + [ 'group', '--name=%s2' % gname, '--system'...
def test_profiles(context): """Test the applying feature of profiles.""" pname = 'profil_test' gname = 'group_test' #fix #271 ScenarioTest([ ADD + [ 'profile', '--name=%s' % pname, '-v' ], GET + [ 'profiles' ], ADD + [ 'group', '--name=%s' % gname, '--system', '-v' ], ADD + [ 'group', '--name=%s2' % gname, '--system'...
478,537
def add_user(self, opts, args): """ Add a user account on the system. """
def add_user(self, opts, args): """ Add a user account on the system. """
478,538
def __init__(self, configuration, users=None, groups=None): """ Init the LDAP backend instance. """
def __init__(self, configuration, users=None, groups=None, warnings=True): """ Init the LDAP backend instance. """
478,539
def serve_virtual_uri(self): """ Serve dynamic URIs with our own code, and create pages on the fly. """
def serve_virtual_uri(self): """ Serve dynamic URIs with our own code, and create pages on the fly. """
478,540
def __getitem__(self, key): return __pyc_primitive__(__pyc_symbol__("index_object"), self, key)
def __getitem__(self, key): return __pyc_primitive__(__pyc_symbol__("index_object"), self, key)
478,541
def __setitem__(self, key, value): return __pyc_primitive__(__pyc_symbol__("set_index_object"), self, key, value)
def __setitem__(self, key, value): return __pyc_primitive__(__pyc_symbol__("set_index_object"), self, key, value)
478,542
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,543
def loadData(self,record,ins,type,size,readId): if size == 4: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 3: unpacked = ins.unpack('BBB',size,readId) else: raise "Unexpected size encountered for TERM:DNAM subrecord: %s" % size unpacked += self.defaults[len(unpacked):] setter = record.__seta...
def loadData(self,record,ins,type,size,readId): if size == 4: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 3: unpacked = ins.unpack('BBB',size,readId) else: raise "Unexpected size encountered for TERM:DNAM subrecord: %s" % size unpacked += self.defaults[len(unpacked):] setter = record.__seta...
478,544
def checkMasterCellBlockData(cellBlock): if not cellBlock.cell.flags1.ignored: fid = cellBlock.cell.fid if fid not in tempCellData: return if fid not in cellData: cellData[fid] = {} cellData[fid+('flags',)] = {} for attr in attrs: if tempCellData[fid][attr] != cellBlock.cell.__getattribute__(attr): cellData[fid][attr] ...
def checkMasterCellBlockData(cellBlock): if not cellBlock.cell.flags1.ignored: fid = cellBlock.cell.fid if fid not in tempCellData: return if fid not in cellData: cellData[fid] = {} cellData[fid+('flags',)] = {} for attr in attrs: if tempCellData[fid][attr] != cellBlock.cell.__getattribute__(attr): cellData[fid][attr] ...
478,545
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(len(self.sourceM...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(1+len(self.sourc...
478,546
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,MreNpc,MreCrea) longTypes = self.longTypes & set(x.classType for x in self.actorClasses) progress.setFull(len(self.sourceMods)) cach...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,MreNpc,MreCrea) longTypes = self.longTypes & set(x.classType for x in self.actorClasses) progress.setFull(1+len(self.sourceMods)) ca...
478,547
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(len(self.sourceM...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(1+len(self.sourc...
478,548
def initData(self,progress): """Get data from source files.""" OOOandUOP = False if GPath("Oscuro's_Oblivion_Overhaul.esm") in self.srcMods or GPath("Oscuro's_Oblivion_Overhaul.esp") in self.srcMods: if GPath("Unofficial Oblivion Patch.esp") in self.srcMods: OOOandUOP = True longTypes = self.longTypes loadFactory = Loa...
def initData(self,progress): """Get data from source files.""" OOOandUOP = False if GPath("Oscuro's_Oblivion_Overhaul.esm") in self.srcMods or GPath("Oscuro's_Oblivion_Overhaul.esp") in self.srcMods: if GPath("Unofficial Oblivion Patch.esp") in self.srcMods: OOOandUOP = True longTypes = self.longTypes loadFactory = Loa...
478,549
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return self.classestemp = set() id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return self.classestemp = set() id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress...
478,550
def initData(self,progress): """Get names from source files.""" if not self.isActive: return actorFactions = ActorFactions(aliases=self.patchFile.aliases) progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if src...
def initData(self,progress): """Get names from source files.""" if not self.isActive: return actorFactions = ActorFactions(aliases=self.patchFile.aliases) progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if s...
478,551
def initData(self,progress): """Get names from source files.""" if not self.isActive: return factionRelations = FactionRelations(aliases=self.patchFile.aliases) progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): ...
def initData(self,progress): """Get names from source files.""" if not self.isActive: return factionRelations = FactionRelations(aliases=self.patchFile.aliases) progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s)...
478,552
def initData(self,progress): """Get script links from source files.""" if not self.isActive: return self.classestemp = set() id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) prog...
def initData(self,progress): """Get script links from source files.""" if not self.isActive: return self.classestemp = set() id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) prog...
478,553
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(len(self.sourceM...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(1+len(self.sourc...
478,554
def initData(self,progress): """Get data from source files.""" if not self.isActive or not self.srcMods: return loadFactory = LoadFactory(False,'CREA','NPC_','CONT') progress.setFull(len(self.srcMods)) for index,srcMod in enumerate(self.srcMods): srcInfo = modInfos[srcMod] srcFile = ModFile(srcInfo,loadFactory) srcFile...
def initData(self,progress): """Get data from source files.""" if not self.isActive or not self.srcMods: return loadFactory = LoadFactory(False,'CREA','NPC_','CONT') progress.setFull(1+len(self.srcMods)) for index,srcMod in enumerate(self.srcMods): srcInfo = modInfos[srcMod] srcFile = ModFile(srcInfo,loadFactory) srcFi...
478,555
def initData(self,progress): """Get names from source files.""" if not self.isActive: return fullNames = FullNames(aliases=self.patchFile.aliases) progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPath not...
def initData(self,progress): """Get names from source files.""" if not self.isActive: return fullNames = FullNames(aliases=self.patchFile.aliases) progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPath n...
478,556
def initData(self,progress): """Get faces from Project Beauty files.""" if not self.isActive: return faceData = self.faceData loadFactory = LoadFactory(False,MreNpc) progress.setFull(len(self.faceMods)) cachedMasters = {} for index,faceMod in enumerate(self.faceMods): if faceMod not in modInfos: continue temp_faceData ...
def initData(self,progress): """Get faces from Project Beauty files.""" if not self.isActive: return faceData = self.faceData loadFactory = LoadFactory(False,MreNpc) progress.setFull(1+len(self.faceMods)) cachedMasters = {} for index,faceMod in enumerate(self.faceMods): if faceMod not in modInfos: continue temp_faceDat...
478,557
def initData(self,progress): """Get cells from source files.""" if not self.isActive: return loadFactory = LoadFactory(False,MreCell,MreWrld,MreRoad) progress.setFull(len(self.sourceMods)) for srcMod in self.sourceMods: if srcMod not in modInfos: continue srcInfo = modInfos[srcMod] srcFile = ModFile(srcInfo,loadFactory...
def initData(self,progress): """Get cells from source files.""" if not self.isActive: return loadFactory = LoadFactory(False,MreCell,MreWrld,MreRoad) progress.setFull(1+len(self.sourceMods)) for srcMod in self.sourceMods: if srcMod not in modInfos: continue srcInfo = modInfos[srcMod] srcFile = ModFile(srcInfo,loadFacto...
478,558
def initData(self,progress): """Get sounds from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(len(self.sourceMod...
def initData(self,progress): """Get sounds from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(1+len(self.sourceM...
478,559
def initData(self,progress): """Get stats from source files.""" if not self.isActive: return itemStats = ItemStats(aliases=self.patchFile.aliases) progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPath not...
def initData(self,progress): """Get stats from source files.""" if not self.isActive: return itemStats = ItemStats(aliases=self.patchFile.aliases) progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPath n...
478,560
def initData(self,progress): """Get stats from source files.""" if not self.isActive: return itemStats = SpellRecords(aliases=self.patchFile.aliases) progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPath ...
def initData(self,progress): """Get stats from source files.""" if not self.isActive: return itemStats = SpellRecords(aliases=self.patchFile.aliases) progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if reModExt.search(srcFile.s): if srcPat...
478,561
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(len(self.sourceM...
def initData(self,progress): """Get graphics from source files.""" if not self.isActive: return id_data = self.id_data recAttrs_class = self.recAttrs_class loadFactory = LoadFactory(False,*recAttrs_class.keys()) longTypes = self.longTypes & set(x.classType for x in self.recAttrs_class) progress.setFull(1+len(self.sourc...
478,562
def initData(self,progress): """Get names from source files.""" if not self.isActive: return progress.setFull(len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if srcPath not in patchesDir: continue self.readFromText(dirs['patches'].join(srcFile)) progress.pl...
def initData(self,progress): """Get names from source files.""" if not self.isActive: return progress.setFull(1+len(self.srcFiles)) for srcFile in self.srcFiles: srcPath = GPath(srcFile) patchesDir = dirs['patches'].list() if srcPath not in patchesDir: continue self.readFromText(dirs['patches'].join(srcFile)) progress....
478,563
def initData(self,progress): """Get data from source files.""" if not self.isActive or not self.srcMods: return loadFactory = LoadFactory(False,MreRace) progress.setFull(len(self.srcMods)) cachedMasters = {} for index,srcMod in enumerate(self.srcMods): if srcMod not in modInfos: continue srcInfo = modInfos[srcMod] srcF...
def initData(self,progress): """Get data from source files.""" if not self.isActive or not self.srcMods: return loadFactory = LoadFactory(False,MreRace) progress.setFull(1+len(self.srcMods)) cachedMasters = {} for index,srcMod in enumerate(self.srcMods): if srcMod not in modInfos: continue srcInfo = modInfos[srcMod] sr...
478,564
def getEffectsSummary(self,mgef_school=None,mgef_name=None): """Return a text description of magic effects.""" mgef_school = mgef_school or bush.mgef_school mgef_name = mgef_name or bush.mgef_name buff = cStringIO.StringIO() avEffects = bush.actorValueEffects aValues = bush.actorValues buffWrite = buff.write if self.ef...
def getEffectsSummary(self,mgef_school=None,mgef_name=None): """Return a text description of magic effects.""" mgef_school = mgef_school or bush.mgef_school mgef_name = mgef_name or bush.mgef_name buff = cStringIO.StringIO() avEffects = bush.actorValueEffects aValues = bush.actorValues buffWrite = buff.write if self.ef...
478,565
def getEffectsSummary(self,mgef_school=None,mgef_name=None): """Return a text description of magic effects.""" mgef_school = mgef_school or bush.mgef_school mgef_name = mgef_name or bush.mgef_name buff = cStringIO.StringIO() avEffects = bush.actorValueEffects aValues = bush.actorValues buffWrite = buff.write if self.ef...
def getEffectsSummary(self,mgef_school=None,mgef_name=None): """Return a text description of magic effects.""" mgef_school = mgef_school or bush.mgef_school mgef_name = mgef_name or bush.mgef_name buff = cStringIO.StringIO() avEffects = bush.actorValueEffects aValues = bush.actorValues buffWrite = buff.write if self.ef...
478,566
def buildPatch(self,patchFile,keep,log): """Build patch.""" eids = ((self.key,),self.key)[isinstance(self.key,tuple)] for eid,value in zip(eids,self.choiceValues[self.chosen]): gmst = MreGmst(('GMST',0,0,0,0,0)) gmst.eid,gmst.value,gmst.longFids = eid,value,True fid = gmst.fid = keep(gmst.getFallout3Fid()) patchFile.GM...
def buildPatch(self,patchFile,keep,log): """Build patch.""" eids = ((self.key,),self.key)[isinstance(self.key,tuple)] for eid,value in zip(eids,self.choiceValues[self.chosen]): gmst = MreGmst(('GMST',0,0,0,0,0)) gmst.eid,gmst.value,gmst.longFids = eid,value,True fid = gmst.fid = keep(gmst.getFallout3Fid()) patchFile.GM...
478,567
def mapFids(self,record,function,save=False): """Applies function to fids. If save is true, then fid is set to result of function.""" if self.subType == 'PLDT' and record.locType != 5: result = function(record.locId) if save: record.locId = result elif self.subType == 'PLD2' and record.locType2 != 5: result = function(...
def mapFids(self,record,function,save=False): """Applies function to fids. If save is true, then fid is set to result of function.""" if self.subType == 'PLDT' and record.locType != 5: result = function(record.locId) if save: record.locId = result elif self.subType == 'PLD2' and record.locType2 != 5: result = function(...
478,568
def buildPatch(self,log,progress): """Adds merged lists to patchfile.""" keep = self.patchFile.getKeeper() #--Reflsts/Deflsts List log.setHeader('= '+self.__class__.name,True) log.setHeader(_('=== Deflsters/Reflsters')) for leveler in (self.levelers or []): log('* '+self.getItemLabel(leveler)) #--Save to patch file for...
def buildPatch(self,log,progress): """Adds merged lists to patchfile.""" keep = self.patchFile.getKeeper() #--Reflsts/Deflsts List log.setHeader('= '+self.__class__.name,True) log.setHeader(_('=== Deflsters/Reflsters')) for leveler in (self.levelers or []): log('* '+self.getItemLabel(leveler)) #--Save to patch file for...
478,569
def dumpData(self,record,out): try: (isFid, value) = record.__getattribute__(self.attr) except AttributeError: value = None if value is not None: if record.dataType == 1: # text (string) out.packSub0(self.subType,value) elif record.dataType == 3: # voice (fid:DIAL) out.packRef(self.subType,value) else: raise ModError(i...
def dumpData(self,record,out): value = record.__getattribute__(self.attr) if value is None: return (isFid, value) = value if value is not None: if record.dataType == 1: # text (string) out.packSub0(self.subType,value) elif record.dataType == 3: # voice (fid:DIAL) out.packRef(self.subType,value) else: raise ModError(ins...
478,570
def mapFids(self,record,function,save=False): (isFid, value) = record.__getattribute__(self.attr) if isFid: result = function(value) if save: record.__setattr__(self.attr,result)
def mapFids(self,record,function,save=False): value = record.__getattribute__(self.attr) if value is None: return (isFid, value) = value if isFid: result = function(value) if save: record.__setattr__(self.attr,result)
478,571
def dumpData(self,record,out): try: (isFid, value) = record.__getattribute__(self.attr) except AttributeError: value = None if value is not None: out.packRef(self.subType,value)
def dumpData(self,record,out): value = record.__getattribute__(self.attr) if value is None: return (isFid, value) = value if value is not None: out.packRef(self.subType,value)
478,572
def mapFids(self,record,function,save=False): (isFid, value) = record.__getattribute__(self.attr) if isFid: result = function(value) if save: record.__setattr__(self.attr,result)
def mapFids(self,record,function,save=False): value = record.__getattribute__(self.attr) if value is None: return (isFid, value) = value if isFid: result = function(value) if save: record.__setattr__(self.attr,result)
478,573
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,574
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,575
def loadData(self,ins,endPos): """Loads data from input stream. Called by load().""" cellType_class = self.loadFactory.getCellTypeClass() recCellClass = self.loadFactory.getRecClass('CELL') errLabel = 'World Block' cell = None block = None subblock = None cellBlocks = self.cellBlocks unpackCellBlocks = self.loadFactory...
def loadData(self,ins,endPos): """Loads data from input stream. Called by load().""" cellType_class = self.loadFactory.getCellTypeClass() recCellClass = self.loadFactory.getRecClass('CELL') errLabel = 'World Block' cell = None block = None subblock = None cellBlocks = self.cellBlocks unpackCellBlocks = self.loadFactory...
478,576
def loadData(self,record,ins,type,size,readId): if size == 224: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 96: #--Else 96 byte record (skips particle variables, and color keys # Only used twice in test shaders (0004b6d5, 0004b6d6) unpacked = ins.unpack('B3s3I3Bs9f3Bs8fI',size,readId) else:...
def loadData(self,record,ins,type,size,readId): if size == 224: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 96: #--Else 96 byte record (skips particle variables, and color keys # Only used twice in test shaders (0004b6d5, 0004b6d6) unpacked = ins.unpack('B3s3I3Bs9f3Bs8fI',size,readId) else:...
478,577
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,578
def dumpData(self,record,out): if not record.schd_p: MelStruct.dumpData(self,record,out)
def dumpData(self,record,out): if not record.schd_p: MelStruct.dumpData(self,record,out)
478,579
def dumpData(self,record,out): if not record.schd_p: MelStruct.dumpData(self,record,out)
def dumpData(self,record,out): if not record.schd_p: MelStruct.dumpData(self,record,out)
478,580
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,581
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,582
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,583
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,584
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,585
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
def InitStatusBar(): """Initialize status bar links.""" #--Bash Status/LinkBar #BashStatusBar.buttons.append(App_Fallout3()) BashStatusBar.buttons.append(Fose_Button()) BashStatusBar.buttons.append(AutoQuit_Button()) BashStatusBar.buttons.append( Fallout3_Button( bosh.dirs['app'].join('Fallout3.exe'), Image(r'images/fa...
478,586
def loadData(self,record,ins,type,size,readId): if size == 186: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 2: record.damage = ins.unpack('H',size,readId) return else: raise "Unexpected size encountered for WATR subrecord: %s" % size
def loadData(self,record,ins,type,size,readId): if size == 186: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 2: (record.damage,) = ins.unpack('H',size,readId) return else: raise "Unexpected size encountered for WATR subrecord: %s" % size
478,587
def resetMTimes(self): """Reset dates of bsa files to 'correct' values.""" #--Fix the data of a few archive files bsaTimes = ( ('Fallout - Meshes.bsa',1138575220), ('Fallout - Misc.bsa',1139433736), ('Fallout - Sounds.bsa',1138660560), ('Fallout - Textures - Compressed.bsa',1138162634), ('Fallout - Voices1.bsa',1138162...
def resetMTimes(self): """Reset dates of bsa files to 'correct' values.""" #--Fix the data of a few archive files bsaTimes = ( ('Fallout - MenuVoices.bsa',1138575220), ('Fallout - Meshes.bsa',1139433736), ('Fallout - Misc.bsa',1138660560), ('Fallout - Sounds.bsa',1138162634), ('Fallout - Textures.bsa',1138162934), ('Fa...
478,588
def buildPatch(self,log,progress,patchFile): """Edits patch file as desired. Will write to log.""" count = {} format = self.choiceValues[self.chosen][0] showStat = '%02d' in format keep = patchFile.getKeeper() codes = getattr(patchFile,'bodyTags','HAGPBFE') head,body,gloves,pipboy,backpack,fancy,accessory = [ x for x i...
def buildPatch(self,log,progress,patchFile): """Edits patch file as desired. Will write to log.""" count = {} format = self.choiceValues[self.chosen][0] showStat = '%02d' in format keep = patchFile.getKeeper() codes = getattr(patchFile,'bodyTags','HAGPBFE') head,body,gloves,pipboy,backpack,fancy,accessory = [ x for x i...
478,589
def buildPatch(self,log,progress,patchFile): """Edits patch file as desired. Will write to log.""" count = {} format = self.choiceValues[self.chosen][0] showStat = '%02d' in format keep = patchFile.getKeeper() codes = getattr(patchFile,'bodyTags','HAGPBFE') head,body,gloves,pipboy,backpack,fancy,accessory = [ x for x i...
def buildPatch(self,log,progress,patchFile): """Edits patch file as desired. Will write to log.""" count = {} format = self.choiceValues[self.chosen][0] showStat = '%02d' in format keep = patchFile.getKeeper() codes = getattr(patchFile,'bodyTags','HAGPBFE') head,body,gloves,pipboy,backpack,fancy,accessory = [ x for x i...
478,590
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,591
def dumpData(self,record,out): """Conditionally dumps data.""" if record.entryType == 7 and self.subType == 'RDMD': MelOptStruct.dumpData(self,record,out)
def dumpData(self,record,out): """Conditionally dumps data.""" if record.entryType == 7 and self.subType == 'RDMD': MelOptStruct.dumpData(self,record,out)
478,592
def dumpData(self,record,out): """Conditionally dumps data.""" if record.entryType == 7 and self.subType == 'RDMD': MelOptStruct.dumpData(self,record,out)
def dumpData(self,record,out): """Conditionally dumps data.""" if record.entryType == 7 and self.subType == 'RDMD': MelOptStruct.dumpData(self,record,out)
478,593
def loadData(self,record,ins,type,size,readId): if size == 124: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 120: #--Else 120 byte record (skips flagsB unpacked = ins.unpack('2B2s8f2B2s3fB3s2f5B3s2f2B2s7fB3sf',size,readId) elif size == 112: #--112 byte record (skips flagsB, rushChance, unuse...
def loadData(self,record,ins,type,size,readId): if size == 124: MelStruct.loadData(self,record,ins,type,size,readId) return elif size == 120: #--Else 120 byte record (skips flagsB unpacked = ins.unpack('2B2s8f2B2s3fB3s2f5B3s2f2B2s7fB3sf',size,readId) elif size == 112: #--112 byte record (skips flagsB, rushChance, unuse...
478,594
def dump(self,out): """Dumps self., then group header and then records.""" MreRecord.dump(self,out) if not self.infos: return size = 20 + sum([20 + info.getSize() for info in self.infos]) out.pack('4sIIII','GRUP',size,self.fid,7,self.infoStamp) for info in self.infos: info.dump(out)
def dump(self,out): """Dumps self., then group header and then records.""" MreRecord.dump(self,out) if not self.infos: return size = 20 + sum([20 + info.getSize() for info in self.infos]) out.pack('4sIIIII','GRUP',size,self.fid,7,self.infoStamp,self.infoStamp2) for info in self.infos: info.dump(out)
478,595
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,596
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
def initPatchFile(self,patchFile,loadMods): """Prepare to handle specified patch mod. All functions are called after this.""" Patcher.initPatchFile(self,patchFile,loadMods) self.id_data = {} #--Names keyed by long fid. self.srcClasses = set() #--Record classes actually provided by src mods/files. self.sourceMods = self...
478,597
def buildPatch(self,patchFile,keep,log): """Build patch.""" eids = ((self.key,),self.key)[isinstance(self.key,tuple)] for eid,value in zip(eids,self.choiceValues[self.chosen]): gmst = MreGmst(('GMST',0,0,0,0,0)) gmst.eid,gmst.value,gmst.longFids = eid,value,True fid = gmst.fid = keep(gmst.getFallout3Fid()) patchFile.GM...
def buildPatch(self,patchFile,keep,log): """Build patch.""" eids = ((self.key,),self.key)[isinstance(self.key,tuple)] for eid,value in zip(eids,self.choiceValues[self.chosen]): gmst = MreGmst(('GMST',0,0,0,0,0)) gmst.eid,gmst.value,gmst.longFids = eid,value,True fid = gmst.fid = keep(gmst.getFallout3Fid()) patchFile.GM...
478,598
def buildPatch(self,log,progress,patchFile): count = {} keep = patchFile.getKeeper() for type in self.activeTypes: if type not in patchFile.tops: continue for record in patchFile.tops[type].records: if not record.full: continue if not 'dwar' in record.full.lower(): continue if 'dwarven' in record.full: record.full = re...
def buildPatch(self,log,progress,patchFile): count = {} keep = patchFile.getKeeper() for type in self.activeTypes: if type not in patchFile.tops: continue for record in patchFile.tops[type].records: if not record.full: continue if not 'dwar' in record.full.lower(): continue if 'dwarven' in record.full: record.full = re...
478,599