Remove selinux import (#83674) (#84317)

Remove selinux import which was kept for backward compatibility

Fixes: #83657

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit d23a2de5f2)
stable-2.17
Abhijeet Kasurde 1 day ago committed by GitHub
parent d0c9fc3edd
commit 1c86e75227
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -0,0 +1,3 @@
---
minor_changes:
- remove extraneous selinux import (https://github.com/ansible/ansible/issues/83657).

@ -7,12 +7,6 @@ import os
import stat
import re
try:
import selinux # pylint: disable=unused-import
HAVE_SELINUX = True
except ImportError:
HAVE_SELINUX = False
FILE_ATTRIBUTES = {
'A': 'noatime',

Loading…
Cancel
Save