mirror of
https://github.com/SELinuxProject/setools
synced 2025-04-09 02:51:33 +00:00
policyrep/selinuxpolicy.py: Remove unnecessary imports.
This commit is contained in:
parent
9dc79ce672
commit
be48ffd29e
@ -37,6 +37,9 @@ from . import qpol
|
|||||||
# This also makes sense since an object would only
|
# This also makes sense since an object would only
|
||||||
# be valid for the policy it comes from.
|
# be valid for the policy it comes from.
|
||||||
|
|
||||||
|
# Exceptions
|
||||||
|
from . import exception
|
||||||
|
|
||||||
# Components
|
# Components
|
||||||
from . import boolcond
|
from . import boolcond
|
||||||
from . import bounds
|
from . import bounds
|
||||||
@ -64,11 +67,6 @@ from . import netcontext
|
|||||||
# Xen
|
# Xen
|
||||||
from . import xencontext
|
from . import xencontext
|
||||||
|
|
||||||
# Classes useful for policyrep users:
|
|
||||||
from . import exception
|
|
||||||
from .netcontext import PortconProtocol, port_range
|
|
||||||
from .terule import ioctlSet
|
|
||||||
|
|
||||||
|
|
||||||
class SELinuxPolicy(object):
|
class SELinuxPolicy(object):
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user