python/sepolicy: do not import sepolicy.generate.DAEMON twice
This issue has been found using flake8. This Python linter reported: python/sepolicy/sepolicy.py:582:5: F811 redefinition of unused 'DAEMON' from line 582 Signed-off-by: Nicolas Iooss <nicolas.iooss@m4x.org>
This commit is contained in:
parent
a33528b0d2
commit
052a4fde73
|
@ -579,7 +579,7 @@ def gen_interface_args(parser):
|
|||
|
||||
|
||||
def gen_generate_args(parser):
|
||||
from sepolicy.generate import DAEMON, get_poltype_desc, poltype, DAEMON, DBUS, INETD, CGI, SANDBOX, USER, EUSER, TUSER, XUSER, LUSER, AUSER, RUSER, NEWTYPE
|
||||
from sepolicy.generate import get_poltype_desc, poltype, DAEMON, DBUS, INETD, CGI, SANDBOX, USER, EUSER, TUSER, XUSER, LUSER, AUSER, RUSER, NEWTYPE
|
||||
|
||||
generate_usage = generate_custom_usage(usage, usage_dict)
|
||||
|
||||
|
|
Loading…
Reference in New Issue