OLD bug.
Signed-off-by: Joerg Jaspert <joerg@debian.org>
+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
# 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)