- file = daklib.utils.open_file("2001-11")
- for line in file.readlines():
- split = line.strip().split('~')
+ f = utils.open_file("2001-11")
+ for line in f.readlines():
+ split = line.strip().split('|')
# Build up architecture mapping
q = projectB.query("SELECT id, arch_string FROM architecture")
for i in q.getresult():
# Build up architecture mapping
q = projectB.query("SELECT id, arch_string FROM architecture")
for i in q.getresult():
for arch in Cnf.ValueList("Suite::%s::Architectures" % (suite)):
suite_arches[suite_id][arch] = ""
suite_id_list.append(suite_id)
for arch in Cnf.ValueList("Suite::%s::Architectures" % (suite)):
suite_arches[suite_id][arch] = ""
suite_id_list.append(suite_id)
args = apt_pkg.ParseCommandLine(Cnf, Arguments, sys.argv)
Options = Cnf.SubTree("Stats::Options")
if Options["Help"]:
args = apt_pkg.ParseCommandLine(Cnf, Arguments, sys.argv)
Options = Cnf.SubTree("Stats::Options")
if Options["Help"]:
usage(1)
################################################################################
if __name__ == '__main__':
main()
usage(1)
################################################################################
if __name__ == '__main__':
main()