X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=daklib%2Fqueue.py;h=a8ea3035df38102937f0f6b32720c5c43fa05272;hb=e917424da408952c649429a226cf0f4810ed2fb9;hp=416547198b759ac326ffd024242b56fedb0d9f3d;hpb=d7b43e596f6aba7f096d57a9e5a2cc57aa7d976b;p=dak.git diff --git a/daklib/queue.py b/daklib/queue.py index 41654719..a8ea3035 100755 --- a/daklib/queue.py +++ b/daklib/queue.py @@ -700,7 +700,7 @@ class Upload(object): # Ensure target distributions exist for suite in self.pkg.changes["distribution"].keys(): - if not Cnf.has_key("Suite::%s" % (suite)): + if not get_suite(suite.lower()): self.rejects.append("Unknown distribution `%s'." % (suite)) ###########################################################################