Merge pull request #1009 from ToBeReplaced/dnf-exit-json

Fix fail_json call in _mark_package_install
reviewable/pr18780/r1
Greg DeKoenigsberg 9 years ago
commit 8221a651d8

@ -230,7 +230,7 @@ def _mark_package_install(module, base, pkg_spec):
try:
base.install(pkg_spec)
except exceptions.MarkingError:
module.fail(msg="No package {} available.".format(pkg_spec))
module.fail_json(msg="No package {} available.".format(pkg_spec))
def ensure(module, base, state, names):

Loading…
Cancel
Save