rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
self.fuse_args.add('allow_other') | cfargs.add('allow_other') | def main_0_1_preamble(self): | 2cd16da84d220d7eee27d43443a4a3e4de6ccb8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5459/2cd16da84d220d7eee27d43443a4a3e4de6ccb8a/fuse.py |
self.fuse_args.add('kernel_cache') def tuple2stat(self, *a): | cfargs.add('kernel_cache') return cfargs.assemble() def getattr_compat_0_1(self, *a): | def main_0_1_preamble(self): | 2cd16da84d220d7eee27d43443a4a3e4de6ccb8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5459/2cd16da84d220d7eee27d43443a4a3e4de6ccb8a/fuse.py |
def statfs2statvfs(self, *a): | def statfs_compat_0_1(self, *a): | def statfs2statvfs(self, *a): | 2cd16da84d220d7eee27d43443a4a3e4de6ccb8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5459/2cd16da84d220d7eee27d43443a4a3e4de6ccb8a/fuse.py |
compatmap = { 'getattr' : 'tuple2stat', 'statfs' : 'statfs2statvfs' } | def statfs2statvfs(self, *a): | 2cd16da84d220d7eee27d43443a4a3e4de6ccb8a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5459/2cd16da84d220d7eee27d43443a4a3e4de6ccb8a/fuse.py | |
def Abort(self): return FuseAbort() | def Abort(self): return FuseAbort() | e2b3ad6eed3ec2113f0c3eb78b441fe4118323aa /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/5459/e2b3ad6eed3ec2113f0c3eb78b441fe4118323aa/fuse.py | |
filename = os.path.join(basedir, 'Packages_%s.new' % arch) | filename = os.path.join(basedir, 'Packages_%s' % arch) | def write_controlfiles(self, basedir, suite): """Write the control files | 9f439cb3044a83d760e979227a72d12c600b58f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/9f439cb3044a83d760e979227a72d12c600b58f4/britney.py |
filename = os.path.join(basedir, 'Sources.new') | filename = os.path.join(basedir, 'Sources') | def write_controlfiles(self, basedir, suite): """Write the control files | 9f439cb3044a83d760e979227a72d12c600b58f4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/9f439cb3044a83d760e979227a72d12c600b58f4/britney.py |
strict = not self.options.compatible | strict = True | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse, excluded=[], conflicts=False): """Find unsatisfied dependencies for a binary package | 1ab6f6a55328d56418588143d10aaef93c6abf8e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/1ab6f6a55328d56418588143d10aaef93c6abf8e/britney.py |
def iter_packages(self, packages, selected, hint=False): | def iter_packages(self, packages, selected, hint=False, nuninst=None): | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
nuninst_comp = self.nuninst_orig.copy() | if nuninst: nuninst_comp = nuninst.copy() else: nuninst_comp = self.nuninst_orig.copy() | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
self.output_write("recur: [%s] %s %d/%d\n" % (",".join(selected), "", len(packages), len(extra))) | self.output_write("recur: [%s] %s %d/%d\n" % ("", ",".join(selected), len(packages), len(extra))) | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
pkg_name, suite, affected, undo = self.doop_source(pkg) | if pkg in pre_process: pkg_name, suite, affected, undo = pre_process[pkg] else: pkg_name, suite, affected, undo = self.doop_source(pkg) | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
if hint: continue | if hint or pkg in selected: continue | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
self.output_write("Apparently successful\n") | def iter_packages(self, packages, selected, hint=False): """Iter on the list of actions and apply them one-by-one | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py | |
backup = self.nuninst_orig | def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py | |
self.nuninst_orig = nuninst_end (nuninst_end, extra) = self.iter_packages(upgrade_me, selected) | else: nuninst_end = None (nuninst_end, extra) = self.iter_packages(upgrade_me, selected, nuninst=nuninst_end) | def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | ab0576817151497fdda52a6927ea2e47cb997bd6 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/ab0576817151497fdda52a6927ea2e47cb997bd6/britney.py |
if arch not in self.systems: self.build_systems(arch) | self.build_systems(arch) | def __init__(self): """Class constructor | de1a02ab556454eb3fce74ee371bbc77a5159ea5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/de1a02ab556454eb3fce74ee371bbc77a5159ea5/britney.py |
nuninst[arch] = packages.split() | if arch in self.options.architectures: nuninst[arch] = packages.split() | def read_nuninst(self): """Read the non-installable report""" f = open(self.options.noninst_status) nuninst = {} for r in f: if ":" not in r: continue arch, packages = r.strip().split(":", 1) nuninst[arch] = packages.split() return nuninst | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py |
tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue | def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue r = check_installable(p, arch, 'testing', excluded=nuninst[arch], conflicts=True) if not r: add_nuninst(... | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py | |
pkg = binaries[arch][0][pkg_name] if skip_archall and pkg['architecture'] == 'all': continue | def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue r = check_installable(p, arch, 'testing', excluded=nuninst[arch], conflicts=True) if not r: add_nuninst(... | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py | |
if system[p][1][0] == None: continue | if len(system[p][1]) == 1 and system[p][1][0] == None: continue | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py |
if name in binary_u['provides']: continue | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py | |
if block[0] != pkg and block[0] in system: | if not (name in binary_u['provides'] and system[name][1] == [pkg]) and \ block[0] != pkg and block[0] in system: | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | 184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/184e5fe812a27d0b1a86d6d64a59e2a5c55bdf82/britney.py |
if conflicts[c][3] == pkg: | i = 0 while i < len(conflicts[c]): if conflicts[c][i][3] == pkg: del conflicts[c][i] else: i = i + 1 if len(conflicts[c]) == 0: | def unregister_conflicts(pkg, conflicts): for c in conflicts.keys(): if conflicts[c][3] == pkg: del conflicts[c] | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
return handle_conflict(pkg, system[source][1], system, conflicts) | for p in system[source][1]: if not p: return False output = handle_conflict(pkg, p, system, conflicts) if output: system, conflicts = output else: return False return (system, conflicts) | def handle_conflict(pkg, source, system, conflicts): # reached the top of the tree if not system[source][1]: return False # remove its conflicts unregister_conflicts(source, conflicts) # if there are alternatives, try them alternatives = system[source][0] for alt in alternatives: if satisfy(alt, [x for x in alternative... | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
system[pkg] = (pkg_alt, pkg_from) | if type(pkg_from) != list: pkg_from = [pkg_from] system[pkg] = (pkg_alt or [], pkg_from) | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: return True binary_u = binaries[0][pkg] else: binary_u = None | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
system[p] = ([], pkg) | system[p] = ([], [pkg]) | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: return True binary_u = binaries[0][pkg] else: binary_u = None | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
name, version, op, conflicting = conflicts[pkg] if conflicting not in binary_u['provides'] and ( \ op == '' and version == '' or check_depends(binary_u['version'], op, version)): output = handle_conflict(pkg, conflicting, system.copy(), conflicts.copy()) if output: system, conflicts = output else: del system[pkg] re... | for name, version, op, conflicting in conflicts[pkg]: if conflicting not in binary_u['provides'] and ( \ op == '' and version == '' or check_depends(binary_u['version'], op, version)): output = handle_conflict(pkg, conflicting, system.copy(), conflicts.copy()) if output: system, conflicts = output else: del system[p... | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: return True binary_u = binaries[0][pkg] else: binary_u = None | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
conflicts[block[0]] = (name, version, op, pkg) | if block[0] not in conflicts: conflicts[block[0]] = [] conflicts[block[0]].append((name, version, op, pkg)) | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: return True binary_u = binaries[0][pkg] else: binary_u = None | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
for type in ('pre-depends', 'depends'): if type not in binary_u: continue dependencies.extend(parse_depends(binary_u[type])) | for key in ('pre-depends', 'depends'): if key not in binary_u: continue dependencies.extend(parse_depends(binary_u[key])) | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: return True binary_u = binaries[0][pkg] else: binary_u = None | 721be275077337204dd877bca9b64df02f5c5ab5 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/721be275077337204dd877bca9b64df02f5c5ab5/britney.py |
for arch in self.options.architectures.split(): | for arch in self.options.architectures: | def __init__(self): """Class constructor method: initialize and populate the data lists""" self.__parse_arguments() apt_pkg.init() self.date_now = int(((time.time() / (60*60)) - 15) / 24) self.sources = {'testing': self.read_sources(self.options.testing), 'unstable': self.read_sources(self.options.unstable), 'tpu': sel... | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for arch in self.options.architectures.split(): | for arch in self.options.architectures: | def maxver(self, pkg, dist): maxver = None if self.sources[dist].has_key(pkg): maxver = self.sources[dist][pkg]['version'] for arch in self.options.architectures.split(): if not self.binaries[dist][arch][0].has_key(pkg): continue pkgv = self.binaries[dist][arch][0][pkg]['version'] if maxver == None or apt_pkg.VersionCo... | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
missing = [] | def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py | |
return (True, packages) | def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py | |
def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py | ||
if name in self.binaries['unstable'][arch][1]: for prov in self.binaries['unstable'][arch][1][name]: package = self.binaries['unstable'][arch][0][prov] | if name in self.binaries[distribution][arch][1]: for prov in self.binaries[distribution][arch][1][name]: package = self.binaries[distribution][arch][0][prov] | def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
packages.append(name) | packages.append(prov) | def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
if len(packages) > 0: return (True, packages) if real_package: missing.append(name) return (False, missing) | return (len(packages) > 0, packages) | def get_dependency_solvers(self, block, arch, distribution): packages = [] missing = [] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for pkg in source_u['binaries']: | for pkg in sorted(source_u['binaries']): | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
excuse.addhtml("Ignoring %s %s (from %s) as it is arch: all" % (pkg, binary_u['version'], pkgsv)) | excuse.addhtml("Ignoring %s %s (from %s) as it is arch: all" % (pkg_name, binary_u['version'], pkgsv)) | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
excuse.addhtml("From wrong source: %s %s (%s not %s)" % (pkg, binary_u['version'], pkgsv, source_t['version'])) | excuse.addhtml("From wrong source: %s %s (%s not %s)" % (pkg_name, binary_u['version'], pkgsv, source_t['version'])) | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
excuse.addhtml("New binary: %s (%s)" % (pkg, binary_u['version'])) | excuse.addhtml("New binary: %s (%s)" % (pkg_name, binary_u['version'])) | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
excuse.addhtml("Not downgrading: %s (%s to %s)" % (pkg, binary_t['version'], binary_u['version'])) | excuse.addhtml("Not downgrading: %s (%s to %s)" % (pkg_name, binary_t['version'], binary_u['version'])) | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
excuse.addhtml("Updated binary: %s (%s to %s)" % (pkg, binary_t['version'], binary_u['version'])) | excuse.addhtml("Updated binary: %s (%s to %s)" % (pkg_name, binary_t['version'], binary_u['version'])) | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for pkg in set(k.split("/")[0] for k in self.sources['testing'][src]['binaries']): | for pkg in sorted([x.split("/")[0] for x in self.sources['testing'][src]['binaries'] if x.endswith("/"+arch)]): | def should_upgrade_srcarch(self, src, arch, suite): # binnmu this arch? source_t = self.sources['testing'][src] source_u = self.sources[suite][src] | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
update_candidate = False | update_candidate = False | def should_upgrade_src(self, src, suite): source_u = self.sources[suite][src] if src in self.sources['testing']: source_t = self.sources['testing'][src] if apt_pkg.VersionCompare(source_t['version'], source_u['version']) == 0: # Candidate for binnmus only return False else: source_t = None | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for arch in self.options.architectures.split(): | for arch in self.options.architectures: | def should_upgrade_src(self, src, suite): source_u = self.sources[suite][src] if src in self.sources['testing']: source_t = self.sources['testing'][src] if apt_pkg.VersionCompare(source_t['version'], source_u['version']) == 0: # Candidate for binnmus only return False else: source_t = None | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for pkg in set(k.split("/")[0] for k in self.sources[suite][src]['binaries']): | for pkg in sorted([x.split("/")[0] for x in self.sources[suite][src]['binaries'] if x.endswith("/"+arch)]): | def should_upgrade_src(self, src, suite): source_u = self.sources[suite][src] if src in self.sources['testing']: source_t = self.sources['testing'][src] if apt_pkg.VersionCompare(source_t['version'], source_u['version']) == 0: # Candidate for binnmus only return False else: source_t = None | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for arch in self.options.architectures.split(): | for arch in self.options.architectures: | def main(self): """Main method, entry point for the analisys""" | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
for arch in self.options.architectures.split(): | for arch in self.options.architectures: | def main(self): """Main method, entry point for the analisys""" | a444439fb0700ef5568e50ba692161d667718145 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/a444439fb0700ef5568e50ba692161d667718145/britney.py |
if not mark_passed and position < 0: | if not compatible and not mark_passed and position < 0: | def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one | 042681e854610588461071e0225ea99e6703a249 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/042681e854610588461071e0225ea99e6703a249/britney.py |
continue | def iter_packages(self, packages, hint=False): """Iter on the list of actions and apply them one-by-one | 042681e854610588461071e0225ea99e6703a249 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/042681e854610588461071e0225ea99e6703a249/britney.py | |
for k in ('Pre-Depends', 'Depends', 'Provides'): | for k in ('Pre-Depends', 'Depends', 'Provides', 'Conflicts'): | def read_binaries(self, basedir, distribution, arch): """Read the list of binary packages from the specified directory The binary packages are read from the `Packages_${arch}' files within the directory specified as `basedir' parameter, replacing ${arch} with the value of the arch parameter. Considering the large amou... | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
for block, block_txt in map(None, apt_pkg.ParseDepends(binary_u[type_key]), binary_u[type_key].split(',')): | for block, block_txt in zip(apt_pkg.ParseDepends(binary_u[type_key]), binary_u[type_key].split(',')): | def excuse_unsat_deps(self, pkg, src, arch, suite, excuse=None, excluded=[]): """Find unsatisfied dependencies for a binary package | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
binaries = [] | def doop_source(self, pkg): | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py | |
binaries.append(p) | def doop_source(self, pkg): | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py | |
if p not in binaries: binaries.append(p) | def doop_source(self, pkg): | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py | |
return (pkg_name, affected, binaries, undo) | return (pkg_name, suite, affected, undo) | def doop_source(self, pkg): | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
pkg_name, affected, binaries, undo = self.doop_source(pkg) | pkg_name, suite, affected, undo = self.doop_source(pkg) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
self.binaries['testing'][arch][0][p[0]]['source'] == pkg_name or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py | |
r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None) | r = self.excuse_unsat_deps(p[0], None, arch, 'testing', None, excluded=[]) | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
self.binaries['testing'][arch][0][p[0]]['source'] == pkg_name or \ | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py | |
if k in self.sources['testing']: for p in self.sources['testing'][k]['binaries']: | if k in self.sources[suite]: for p in self.sources[suite][k]['binaries']: | def iter_packages(self, packages, output): extra = [] nuninst_comp = self.get_nuninst() | 8bd331e0372890c5e7a61dfbb4f1be9ff009ad52 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/8bd331e0372890c5e7a61dfbb4f1be9ff009ad52/britney.py |
binaries[arch][0][binary] = undo['binaries'][p] | if binary[0] == "-": del binaries[arch][0][binary[1:]] else: binaries[arch][0][binary] = undo['binaries'][p] | def iter_packages(self, packages, output): """Iter on the list of actions and apply them one-by-one | dc1a84151dc28148e685c2568d18f8af839288c9 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/dc1a84151dc28148e685c2568d18f8af839288c9/britney.py |
nuninst[arch] = packages.split() | if arch in self.options.architectures: nuninst[arch] = packages.split() | def read_nuninst(self): """Read the non-installable report""" f = open(self.options.noninst_status) nuninst = {} for r in f: if ":" not in r: continue arch, packages = r.strip().split(":", 1) nuninst[arch] = packages.split() return nuninst | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py |
tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue | def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue r = check_installable(p, arch, 'testing', excluded=nuninst[arch], conflicts=True) if not r: add_nuninst(... | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py | |
pkg = binaries[arch][0][pkg_name] if skip_archall and pkg['architecture'] == 'all': continue | def add_nuninst(pkg, arch): if pkg not in nuninst[arch]: nuninst[arch].append(pkg) for p in binaries[arch][0][pkg]['rdepends']: tpkg = binaries[arch][0][p] if skip_archall and tpkg['architecture'] == 'all': continue r = check_installable(p, arch, 'testing', excluded=nuninst[arch], conflicts=True) if not r: add_nuninst(... | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py | |
if system[p][1][0] == None: continue | if len(system[p][1]) == 1 and system[p][1][0] == None: continue | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py |
if name in binary_u['provides']: continue | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py | |
if block[0] != pkg and block[0] in system: | if not (name in binary_u['provides'] and system[name][1] == [pkg]) and \ block[0] != pkg and block[0] in system: | def satisfy(pkg, pkg_alt=None, pkg_from=None, system=system, conflicts=conflicts, excluded=[]): # if it is real package and it is already installed, skip it and return True if pkg in binaries[0]: if pkg in system: if type(pkg_from) == list: system[pkg][1].extend(pkg_from) else: system[pkg][1].append(pkg_from) system[pk... | da58215dd19f00291f5e627e31aa57dbdd419f0b /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/da58215dd19f00291f5e627e31aa57dbdd419f0b/britney.py |
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py | ||
def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py | ||
if not arch: | if not (arch and pkg[0] == '-'): | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binary, arch = p.split("/") | binary, parch = p.split("/") if arch and parch != arch: continue | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binary not in self.binaries[suite][arch][0] and \ | binary not in self.binaries[suite][parch][0] and \ | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binaries[arch][0][binary].get('section', None) in self.options.smooth_updates): | binaries[parch][0][binary].get('section', None) in self.options.smooth_updates): | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
undo['binaries'][p] = binaries[arch][0][binary] | undo['binaries'][p] = binaries[parch][0][binary] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch) | for j in binaries[parch][0][binary]['rdepends']: key = (j, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['provides']: key = j + "/" + arch | for j in binaries[parch][0][binary]['provides']: key = j + "/" + parch | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
undo['virtual'][key] = binaries[arch][1][j][:] binaries[arch][1][j].remove(binary) if len(binaries[arch][1][j]) == 0: del binaries[arch][1][j] | undo['virtual'][key] = binaries[parch][1][j][:] binaries[parch][1][j].remove(binary) if len(binaries[parch][1][j]) == 0: del binaries[parch][1][j] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
del binaries[arch][0][binary] | del binaries[parch][0][binary] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
undo['sources'][pkg_name] = source del sources['testing'][pkg_name] | if not arch: undo['sources'][pkg_name] = source del sources['testing'][pkg_name] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
else: if pkg_name in binaries[arch][0]: undo['binaries'][pkg_name + "/" + arch] = binaries[arch][0][pkg_name] for j in binaries[arch][0][pkg_name]['rdepends']: key = (j, arch) if key not in affected: affected.append(key) if pkg[0] != "-": undo['binaries']['-' + pkg] = True source = {'binaries': [pkg]} else: del bina... | elif pkg_name in binaries[arch][0]: undo['binaries'][pkg_name + "/" + arch] = binaries[arch][0][pkg_name] for j in binaries[arch][0][pkg_name]['rdepends']: key = (j, arch) if key not in affected: affected.append(key) del binaries[arch][0][pkg_name] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binary, arch = p.split("/") key = (binary, arch) | binary, parch = p.split("/") if arch and parch != arch: continue key = (binary, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
if binary in binaries[arch][0]: | if binary in binaries[parch][0]: | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
undo['binaries'][p] = binaries[arch][0][binary] | undo['binaries'][p] = binaries[parch][0][binary] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch) | for j in binaries[parch][0][binary]['rdepends']: key = (j, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['rconflicts']: key = (j, arch) | for j in binaries[parch][0][binary]['rconflicts']: key = (j, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for p in self.get_full_tree(j, arch, 'testing'): key = (p, arch) | for p in self.get_full_tree(j, parch, 'testing'): key = (p, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binaries[arch][0][binary] = self.binaries[suite][arch][0][binary] | binaries[parch][0][binary] = self.binaries[suite][parch][0][binary] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['provides']: key = j + "/" + arch if j not in binaries[arch][1]: | for j in binaries[parch][0][binary]['provides']: key = j + "/" + parch if j not in binaries[parch][1]: | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binaries[arch][1][j] = [] | binaries[parch][1][j] = [] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
undo['virtual'][key] = binaries[arch][1][j][:] binaries[arch][1][j].append(binary) | undo['virtual'][key] = binaries[parch][1][j][:] binaries[parch][1][j].append(binary) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
for j in binaries[arch][0][binary]['rdepends']: key = (j, arch) | for j in binaries[parch][0][binary]['rdepends']: key = (j, parch) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
binary, arch = p.split("/") self.register_reverses(binary, binaries[arch][0] , binaries[arch][1]) | binary, parch = p.split("/") if arch and parch != arch: continue self.register_reverses(binary, binaries[parch][0] , binaries[parch][1]) | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
sources['testing'][pkg_name] = sources[suite][pkg_name] | if not arch: sources['testing'][pkg_name] = sources[suite][pkg_name] | def doop_source(self, pkg): """Apply a change to the testing distribution as requested by `pkg` | b8d4deefd1e15dc48987f2d10c01b6f060204f30 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/b8d4deefd1e15dc48987f2d10c01b6f060204f30/britney.py |
selected = self.selected | selected = self.selected[:] | def do_all(self, maxdepth=0, init=None, actions=None): """Testing update runner | 35ff888da9ae1c4891d2ff847a961d372da979cf /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/35ff888da9ae1c4891d2ff847a961d372da979cf/britney.py |
n = len(nuninst[arch]) + (original and len(original[arch]) or 0) if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d" % (arch[0], n)) | n = len(nuninst[arch]) elif original and original.has_key(arch): n = len(original[arch]) else: continue if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d" % (arch[0], n)) | def eval_nuninst(self, nuninst, original=None): res = [] total = 0 totalbreak = 0 for arch in self.options.architectures: if nuninst.has_key(arch): n = len(nuninst[arch]) + (original and len(original[arch]) or 0) if arch in self.options.break_arches: totalbreak = totalbreak + n else: total = total + n res.append("%s-%d... | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (j[0], j[1], j[2], arch) | key = (j[0], arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
key = (j[0], j[1], j[2], arch) | key = (j[0], arch) | def doop_source(self, pkg): | fa6c1b506f7548b5fdf29486ef79b23c7680b1a2 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/2784/fa6c1b506f7548b5fdf29486ef79b23c7680b1a2/britney.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.