+ suite = get_suite(suite_name)
+ ba.suite_id = suite.suite_id
+
+ component_id = bin.poolfile.location.component_id;
+ component_id = bin.poolfile.location.component_id;
+
+ contents = copy_temporary_contents(bin 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)
+
+