]> err.no Git - dak/commitdiff
really disable contents in p-a
authorMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 19:10:50 +0000 (19:10 +0000)
committerMark Hymers <mhy@debian.org>
Mon, 26 Oct 2009 19:10:50 +0000 (19:10 +0000)
Signed-off-by: Mark Hymers <mhy@debian.org>
dak/process_accepted.py

index ffcc0421d8af0117317bc524b7e51198d285b696..d7db1172f91be48c002c8200f9cc4ca2cb8165ef 100755 (executable)
@@ -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):