Fix fail_json call in _mark_package_install

pull/18777/head
ToBeReplaced 9 years ago committed by Matt Clay
parent a034f19a41
commit faee617b21

@ -237,7 +237,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