diff options
Diffstat (limited to 'lib/ansible/module_utils/compat/selinux.py')
-rw-r--r-- | lib/ansible/module_utils/compat/selinux.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ansible/module_utils/compat/selinux.py b/lib/ansible/module_utils/compat/selinux.py index ca58098a..7191713c 100644 --- a/lib/ansible/module_utils/compat/selinux.py +++ b/lib/ansible/module_utils/compat/selinux.py @@ -62,7 +62,7 @@ def _module_setup(): fn.restype = cfg.get('restype', c_int) # just patch simple directly callable functions directly onto the module - if not fn.argtypes or not any(argtype for argtype in fn.argtypes if type(argtype) is base_ptr_type): + if not fn.argtypes or not any(argtype for argtype in fn.argtypes if type(argtype) == base_ptr_type): setattr(_thismod, fname, fn) continue |