X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fprocess_unchecked.py;h=9d0fdc9393cb6a13269e5e20af3b1eb9ff3047b1;hb=32e38e7021820d57d03deaa5f2a7d305771a00ec;hp=6aa89e121cfd59b995f3958fc4f2d49b0609aada;hpb=307823ca2367f65ccfbbc7c0bd5054f2883b9c9c;p=dak.git diff --git a/dak/process_unchecked.py b/dak/process_unchecked.py index 6aa89e12..9d0fdc93 100755 --- a/dak/process_unchecked.py +++ b/dak/process_unchecked.py @@ -58,6 +58,7 @@ from daklib.regexes import re_valid_version, re_valid_pkg_name, re_changelog_ver re_strip_revision, re_strip_srcver, re_spacestrip, \ re_isanum, re_no_epoch, re_no_revision, re_taint_free, \ re_isadeb, re_extract_src_version, re_issource, re_default_answer +from daklib.summarystats import SummaryStats from types import * @@ -1082,7 +1083,7 @@ def check_signed_by_key(): if highest_sid is None: reject("Source package %s does not have 'DM-Upload-Allowed: yes' in its most recent version" % changes["source"]) else: - for sup in s.query(SrcUploader).join(DBSource).filter_by(source_id=highest_sid) + for sup in s.query(SrcUploader).join(DBSource).filter_by(source_id=highest_sid): (rfc822, rfc2047, name, email) = sup.maintainer.get_split_maintainer() if email == uid_email or name == uid_name: should_reject = False @@ -1604,8 +1605,8 @@ def main(): if not Options["No-Action"]: clean_holding() - accept_count = Upload.accept_count - accept_bytes = Upload.accept_bytes + accept_count = SummaryStats().accept_count + accept_bytes = SummaryStats().accept_bytes if accept_count: sets = "set" if accept_count > 1: