Remove selinux import (#83674)

Remove selinux import which was kept for backward compatibility

Fixes: #83657

Signed-off-by: Abhijeet Kasurde <akasurde@redhat.com>
(cherry picked from commit d23a2de5f2)
pull/84317/head
Abhijeet Kasurde 4 months ago
parent b3a6e66edd
commit da8eff00aa

@ -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