提交 742ee454 编写于 作者: M Mark Hymers

Check suite from database, not config file

Signed-off-by: NMark Hymers <mhy@debian.org>
上级 d7b43e59
......@@ -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))
###########################################################################
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册