From c8d6e5be0bc3b5c7744177775f9d92abdc83a740 Mon Sep 17 00:00:00 2001 From: Brian Coca Date: Fri, 19 Jul 2013 14:46:35 -0400 Subject: [PATCH] missing self in self method usages Signed-off-by: Brian Coca --- lib/ansible/module_common.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/ansible/module_common.py b/lib/ansible/module_common.py index df91d753507..d65088c1930 100644 --- a/lib/ansible/module_common.py +++ b/lib/ansible/module_common.py @@ -265,9 +265,9 @@ class AnsibleModule(object): def selinux_enabled(self): if not HAVE_SELINUX: - seenabled = get_bin_path('selinuxenabled') + seenabled = self.get_bin_path('selinuxenabled') if seenabled is not None: - (rc,out,err) = run_command(seenabled) + (rc,out,err) = self.run_command(seenabled) if rc == 0: self.fail_json(msg="Aborting, target uses selinux but python bindings (python-selinux) aren't installed!") return False