# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
Cnf = apt_pkg.newConfiguration()
apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file())
AptCnf = apt_pkg.newConfiguration()
apt_pkg.ReadConfigFileISC(AptCnf,utils.which_apt_conf_file())
Cnf = apt_pkg.newConfiguration()
apt_pkg.ReadConfigFileISC(Cnf,utils.which_conf_file())
AptCnf = apt_pkg.newConfiguration()
apt_pkg.ReadConfigFileISC(AptCnf,utils.which_apt_conf_file())
Arguments = [('d',"debug","Ziyi::Options::Debug", "IntVal"),
('h',"help","Ziyi::Options::Help"),
Arguments = [('d',"debug","Ziyi::Options::Debug", "IntVal"),
('h',"help","Ziyi::Options::Help"),
label = SuiteBlock.get("Label", origin)
version = SuiteBlock.get("Version", "")
codename = SuiteBlock.get("CodeName", "")
label = SuiteBlock.get("Label", origin)
version = SuiteBlock.get("Version", "")
codename = SuiteBlock.get("CodeName", "")
if codename != "":
out.write("Codename: %s\n" % (codename))
out.write("Date: %s\n" % (time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime(time.time()))))
if codename != "":
out.write("Codename: %s\n" % (codename))
out.write("Date: %s\n" % (time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime(time.time()))))
out.write("Architectures: %s\n" % (string.join(filter(real_arch, SuiteBlock.SubTree("Architectures").List()))))
if components != []:
out.write("Components: %s\n" % (string.join(components)))
out.write("Architectures: %s\n" % (string.join(filter(real_arch, SuiteBlock.SubTree("Architectures").List()))))
if components != []:
out.write("Components: %s\n" % (string.join(components)))
release.write("Component: %s\n" % (sec))
release.write("Origin: %s\n" % (origin))
release.write("Label: %s\n" % (label))
release.write("Component: %s\n" % (sec))
release.write("Origin: %s\n" % (origin))
release.write("Label: %s\n" % (label))
release.write("Architecture: %s\n" % (arch))
release.close()
files.append("%s/binary-%s/Release" % (sec,arch))
release.write("Architecture: %s\n" % (arch))
release.close()
files.append("%s/binary-%s/Release" % (sec,arch))
Cnf["Dir::RootDir"] + tree + "/Release", dest))
#######################################################################################
Cnf["Dir::RootDir"] + tree + "/Release", dest))
#######################################################################################