X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=f7caf303192ec07993888dd5b6aff94fe609fa4e;hb=a8a6edfad74150868322cdc57e18b7454a584fcf;hp=70c3cdbae295de36f0026c54a49c31bca8bbdf4a;hpb=587431b705e7d36cf9c176f4b619349d808f6e9d;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 70c3cdba..f7caf303 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -34,23 +34,14 @@ Checks Debian packages from Incoming ################################################################################ -import commands import errno import fcntl import os -import re -import shutil -import stat import sys -import time import traceback -import tarfile -import apt_inst import apt_pkg -from debian_bundle import deb822 from daklib.dbconn import * -from daklib.binary import Binary from daklib import daklog from daklib.queue import * from daklib import utils @@ -244,7 +235,7 @@ def package_to_queue(u, summary, short_summary, queue, perms=0660, build=True, a u.pkg.write_dot_dak(dir) u.move_to_dir(dir, perms=perms) if build: - get_queue(queue.lower()).autobuild_upload(u.pkg, dir) + get_or_set_queue(queue.lower()).autobuild_upload(u.pkg, dir) # Check for override disparities u.check_override() @@ -506,9 +497,9 @@ def process_it(changes_file): u.check_distributions() u.check_files(not Options["No-Action"]) valid_dsc_p = u.check_dsc(not Options["No-Action"]) - if valid_dsc_p: + if valid_dsc_p and not Options["No-Action"]: u.check_source() - # u.check_lintian() + u.check_lintian() u.check_hashes() u.check_urgency() u.check_timestamps()