From 001ceb8dc610c5ffa7fd021274d9e992f5dce91d Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Thu, 21 Apr 2016 16:44:11 +0200 Subject: [PATCH] Remove old test on SELinux (#3510) since all is done in modules_utils/basic.py, no need to make the same test here, especially since that's unused later --- lib/ansible/modules/files/file.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/lib/ansible/modules/files/file.py b/lib/ansible/modules/files/file.py index 8e0158bb0e..b7644a3cda 100644 --- a/lib/ansible/modules/files/file.py +++ b/lib/ansible/modules/files/file.py @@ -23,11 +23,6 @@ import shutil import stat import grp import pwd -try: - import selinux - HAVE_SELINUX=True -except ImportError: - HAVE_SELINUX=False DOCUMENTATION = ''' ---