Remove selinux import (#83674)

Remove selinux import which was kept for backward compatibility

Fixes: #83657

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
pull/83700/head
Abhijeet Kasurde 4 months ago committed by GitHub
parent 07a1d6a3fd
commit d23a2de5f2
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 stat
import re import re
try:
import selinux # pylint: disable=unused-import
HAVE_SELINUX = True
except ImportError:
HAVE_SELINUX = False
FILE_ATTRIBUTES = { FILE_ATTRIBUTES = {
'A': 'noatime', 'A': 'noatime',

Loading…
Cancel
Save