From: Mark Hymers Date: Mon, 26 Oct 2009 19:10:50 +0000 (+0000) Subject: really disable contents in p-a X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d719cb0e67cdacd21f2ed20e38ed44e910751542;p=dak really disable contents in p-a Signed-off-by: Mark Hymers --- diff --git a/dak/process_accepted.py b/dak/process_accepted.py index ffcc0421..d7db1172 100755 --- a/dak/process_accepted.py +++ b/dak/process_accepted.py @@ -318,12 +318,12 @@ def add_deb_to_db(u, filename, session): session.flush() - # Deal with contents - contents = copy_temporary_contents(bin.package, bin.version, bin.architecture.arch_string, os.path.basename(filename), None, session) - if not contents: - print "REJECT\nCould not determine contents of package %s" % bin.package - session.rollback() - raise MissingContents, "No contents stored for package %s, and couldn't determine contents of %s" % (bin.package, filename) + # Deal with contents - disabled for now + #contents = copy_temporary_contents(bin.package, bin.version, bin.architecture.arch_string, os.path.basename(filename), None, session) + #if not contents: + # print "REJECT\nCould not determine contents of package %s" % bin.package + # session.rollback() + # raise MissingContents, "No contents stored for package %s, and couldn't determine contents of %s" % (bin.package, filename) def install(u, session, log_urgency=True):