X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=213dbd58cc6f3a1b1c66d3b6adff814d865d9a62;hb=4bd036e1e2c3663991a9685a8d09ed58f293c140;hp=df5ee6a645edebfac66bf09dd9de1f7a26da1a47;hpb=93b984f622111a219b0db0bee2ab7292ac0db654;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index df5ee6a6..213dbd58 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -1819,10 +1819,10 @@ class Upload(object): ## experimental lists the uploader in the Maintainer: or Uploaders: fields (ie, ## non-developer maintainers cannot NMU or hijack packages) - # srcuploaders includes the maintainer + # uploader includes the maintainer accept = False - for sup in r.srcuploaders: - (rfc822, rfc2047, name, email) = sup.maintainer.get_split_maintainer() + for uploader in r.uploaders: + (rfc822, rfc2047, name, email) = uploader.get_split_maintainer() # Eww - I hope we never have two people with the same name in Debian if email == fpr.uid.uid or name == fpr.uid.name: accept = True