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 *
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
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: