From be48ffd29e9aa0d773a43832b8b666476e3ac69d Mon Sep 17 00:00:00 2001 From: Chris PeBenito Date: Tue, 26 Apr 2016 13:17:54 -0400 Subject: [PATCH] policyrep/selinuxpolicy.py: Remove unnecessary imports. --- setools/policyrep/selinuxpolicy.py | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/setools/policyrep/selinuxpolicy.py b/setools/policyrep/selinuxpolicy.py index cb45205..b0dc457 100644 --- a/setools/policyrep/selinuxpolicy.py +++ b/setools/policyrep/selinuxpolicy.py @@ -37,6 +37,9 @@ from . import qpol # This also makes sense since an object would only # be valid for the policy it comes from. +# Exceptions +from . import exception + # Components from . import boolcond from . import bounds @@ -64,11 +67,6 @@ from . import netcontext # Xen from . import xencontext -# Classes useful for policyrep users: -from . import exception -from .netcontext import PortconProtocol, port_range -from .terule import ioctlSet - class SELinuxPolicy(object):