From 14c2e8de0c74c3541f5a5bec47c6799a95f9a79b Mon Sep 17 00:00:00 2001 From: Michael DeHaan Date: Sat, 18 Aug 2012 19:43:45 -0400 Subject: [PATCH] Fix invalid usage or fail_json in apt module --- library/apt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/apt b/library/apt index 0f923302ec..bb40f7ff17 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")