missing self in self method usages
Signed-off-by: Brian Coca <briancoca+dev@gmail.com>
This commit is contained in:
parent
f4b1e426ea
commit
c8d6e5be0b
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue