mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-01-11 00:31:56 -06:00
Pylint: import max one module per line
Reviewed-By: Petr Spacek <pspacek@redhat.com> Reviewed-By: Lukas Slebodnik <lslebodn@redhat.com>
This commit is contained in:
parent
195e50b93b
commit
b66028af18
@ -9,7 +9,8 @@ from ipalib.config import Env
|
||||
from ipalib.constants import DEFAULT_CONFIG
|
||||
from ipapython.ipautil import kinit_keytab
|
||||
import sys
|
||||
import os, pwd
|
||||
import os
|
||||
import pwd
|
||||
|
||||
import six
|
||||
import gssapi
|
||||
|
@ -64,7 +64,8 @@ if api.env.in_server and api.env.context in ['lite', 'server']:
|
||||
try:
|
||||
import ipaserver.dcerpc #pylint: disable=F0401
|
||||
from ipaserver.dcerpc import TRUST_ONEWAY, TRUST_BIDIRECTIONAL
|
||||
import dbus, dbus.mainloop.glib
|
||||
import dbus
|
||||
import dbus.mainloop.glib
|
||||
_bindings_installed = True
|
||||
except ImportError:
|
||||
_bindings_installed = False
|
||||
|
@ -23,7 +23,8 @@ import string
|
||||
import tempfile
|
||||
import subprocess
|
||||
import random
|
||||
import os, sys
|
||||
import os
|
||||
import sys
|
||||
import copy
|
||||
import stat
|
||||
import shutil
|
||||
|
@ -33,7 +33,8 @@ from ipapython.dn import DN
|
||||
from ipaserver.install import installutils
|
||||
from ipalib.util import normalize_name
|
||||
|
||||
import os, struct
|
||||
import os
|
||||
import struct
|
||||
from samba import param
|
||||
from samba import credentials
|
||||
from samba.dcerpc import security, lsa, drsblobs, nbt, netlogon
|
||||
|
@ -18,7 +18,8 @@
|
||||
#
|
||||
|
||||
import sys
|
||||
import os, socket
|
||||
import os
|
||||
import socket
|
||||
import tempfile
|
||||
import datetime
|
||||
import traceback
|
||||
|
@ -1272,7 +1272,8 @@ from ipalib import api, errors, SkipPluginModule
|
||||
if api.env.ra_plugin != 'dogtag':
|
||||
# In this case, abort loading this plugin module...
|
||||
raise SkipPluginModule(reason='dogtag not selected as RA plugin')
|
||||
import os, random
|
||||
import os
|
||||
import random
|
||||
from ipaserver.plugins import rabase
|
||||
from ipalib.constants import TYPE_ERROR
|
||||
from ipalib.util import cachedproperty
|
||||
|
Loading…
Reference in New Issue
Block a user