X-Git-Url: https://git.decadent.org.uk/gitweb/?a=blobdiff_plain;f=dak%2Fcontrol_suite.py;fp=dak%2Fcontrol_suite.py;h=740b88365d6b630580f6c0904f6560b52c7a0139;hb=472f3b38eb678416552913b9c58f246c722be973;hp=fa20100b40a69167f173dd8657c954dd40d84240;hpb=37a7d33194e3d8bbc8d754a0fa9ad644935a07a8;p=dak.git diff --git a/dak/control_suite.py b/dak/control_suite.py index fa20100b..740b8836 100755 --- a/dak/control_suite.py +++ b/dak/control_suite.py @@ -179,14 +179,14 @@ def version_checks(package, architecture, target_suite, new_version, session, fo for suite, version in suite_version_list: cmp = apt_pkg.VersionCompare(new_version, version) if suite in must_be_newer_than and cmp < 1: - utils.warn("%s (%s): version check violated: %s in %s is *not* newer than %s targeted at %s" % (package, architecture, version, suite, new_version, target_suite)) + utils.warn("%s (%s): version check violated: %s targeted at %s is *not* newer than %s in %s" % (package, architecture, new_version, target_suite, version, suite)) violations = True if suite in must_be_older_than and cmp > 1: - utils.warn("%s (%s): version check violated: %s in %s is *not* older than %s targeted at %s" % (package, architecture, version, suite, new_version, target_suite)) + utils.warn("%s (%s): version check violated: %s targeted at %s is *not* older than %s in %s" % (package, architecture, new_version, target_suite, version, suite)) violations = True if violations: - if forced: + if force: utils.warn("Continuing anyway (forced)...") else: utils.fubar("Aborting. Version checks violated and not forced.")