提交 7a451066 编写于 作者: J Joerg Jaspert

Make cross_suite_version_checks functional.

OLD bug.
Signed-off-by: NJoerg Jaspert <joerg@debian.org>
上级 3cb559d2
2008-11-30 Joerg Jaspert <joerg@debian.org>
* dak/daklib/queue.py (Upload.cross_suite_version_check): Add a
few () to make cross_suite_version_check finally work as
intended (well, we hope). Thanks to Philipp Kern for spotting this.
2008-11-28 Mark Hymers <mhy@debian.org>
* dak/new_security_install.py: Don't attempt to delete the .changes files
......
......@@ -855,8 +855,8 @@ distribution."""
# Check versions for each target suite
for target_suite in self.pkg.changes["distribution"].keys():
must_be_newer_than = [ i.lower for i in self.Cnf.ValueList("Suite::%s::VersionChecks::MustBeNewerThan" % (target_suite)) ]
must_be_older_than = [ i.lower for i in self.Cnf.ValueList("Suite::%s::VersionChecks::MustBeOlderThan" % (target_suite)) ]
must_be_newer_than = [ i.lower() for i in self.Cnf.ValueList("Suite::%s::VersionChecks::MustBeNewerThan" % (target_suite)) ]
must_be_older_than = [ i.lower() for i in self.Cnf.ValueList("Suite::%s::VersionChecks::MustBeOlderThan" % (target_suite)) ]
# Enforce "must be newer than target suite" even if conffile omits it
if target_suite not in must_be_newer_than:
must_be_newer_than.append(target_suite)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册