Upload.accept(summary, short_summary)
os.unlink(Upload.pkg.changes_file[:-8]+".dak")
else:
# We are handling a sourceful upload. Move to accepted if currently
# in p-u holding and to p-u holding otherwise.
if is_source_in_queue_dir(queue_dir):
Upload.accept(summary, short_summary)
os.unlink(Upload.pkg.changes_file[:-8]+".dak")
else:
# We are handling a sourceful upload. Move to accepted if currently
# in p-u holding and to p-u holding otherwise.
if is_source_in_queue_dir(queue_dir):