diff --git a/library/apt b/library/apt index 0f923302ec1..bb40f7ff17d 100755 --- a/library/apt +++ b/library/apt @@ -133,7 +133,7 @@ def main(): import apt import apt_pkg except: - module.fail_json("Could not import python modules: apt, apt_pkg. Please install python-apt package.") + module.fail_json(msg="Could not import python modules: apt, apt_pkg. Please install python-apt package.") if not os.path.exists(APT_PATH): module.fail_json(msg="Cannot find apt-get")