Improve debug logging some more.

This commit is contained in:
Patrik Lundin 2016-06-30 18:51:35 +02:00
parent dd14d14224
commit 59364500bc

View file

@ -229,7 +229,7 @@ def package_latest(name, installed_state, pkg_spec, module):
module.debug("package_latest(): checking for pre-upgrade package name: %s" % installed_name)
match = re.search("\W%s->.+: ok\W" % installed_name, stdout)
if match:
module.debug("package_latest(): package name match: %s" % installed_name)
module.debug("package_latest(): pre-upgrade package name match: %s" % installed_name)
if module.check_mode:
module.exit_json(changed=True)