################################################################################
import sys, os, popen2, tempfile, stat, time
################################################################################
import sys, os, popen2, tempfile, stat, time
def print_md5_files (tree, files):
print_md5sha_files (tree, files, apt_pkg.md5sum)
def print_md5_files (tree, files):
print_md5sha_files (tree, files, apt_pkg.md5sum)
def print_sha1_files (tree, files):
print_md5sha_files (tree, files, apt_pkg.sha1sum)
def print_sha1_files (tree, files):
print_md5sha_files (tree, files, apt_pkg.sha1sum)
################################################################################
def main ():
global Cnf, AptCnf, projectB, out
out = sys.stdout
################################################################################
def main ():
global Cnf, AptCnf, projectB, out
out = sys.stdout
out.write("Date: %s\n" % (time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime(time.time()))))
if notautomatic != "":
out.write("NotAutomatic: %s\n" % (notautomatic))
out.write("Date: %s\n" % (time.strftime("%a, %d %b %Y %H:%M:%S UTC", time.gmtime(time.time()))))
if notautomatic != "":
out.write("NotAutomatic: %s\n" % (notautomatic))
release = open(relpath, "w")
#release = open(longsuite.replace("/","_") + "_" + arch + "_" + sec + "_Release", "w")
except IOError:
release = open(relpath, "w")
#release = open(longsuite.replace("/","_") + "_" + arch + "_" + sec + "_Release", "w")
except IOError:
print_md5_files(tree, files)
out.write("SHA1:\n")
print_sha1_files(tree, files)
print_md5_files(tree, files)
out.write("SHA1:\n")
print_sha1_files(tree, files)