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:
Martin Basti 2016-03-20 21:21:10 +01:00
parent 195e50b93b
commit b66028af18
7 changed files with 12 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -18,7 +18,8 @@
#
import sys
import os, socket
import os
import socket
import tempfile
import datetime
import traceback

View File

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

View File

@ -57,7 +57,6 @@ disable=
invalid-name,
line-too-long,
missing-docstring,
multiple-imports,
multiple-statements,
old-style-class,
superfluous-parens,