diff options
author | Martin Basti <mbasti@redhat.com> | 2015-12-16 19:04:20 +0100 |
---|---|---|
committer | Jan Cholasta <jcholast@redhat.com> | 2015-12-23 07:59:22 +0100 |
commit | e1192ebd975bc17aa600030eecbaed6660dc7733 (patch) | |
tree | 1a623cb4b003c234beae8075f437b8c936a4fd0f /ipalib/plugins/dns.py | |
parent | e4075b1fe26a608cd1f3778ee1f655a5f5700c65 (diff) | |
download | freeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.tar.gz freeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.tar.xz freeipa-e1192ebd975bc17aa600030eecbaed6660dc7733.zip |
Remove wildcard imports
Wildcard imports should not be used.
Check for wildcard imports has been enabled in pylint.
Pylint note: options 'wildcard-import' causes too much false positive
results, so instead it I used 'unused-wildcard-import' option which has almost
the same effect.
Reviewed-By: Jan Cholasta <jcholast@redhat.com>
Diffstat (limited to 'ipalib/plugins/dns.py')
-rw-r--r-- | ipalib/plugins/dns.py | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/ipalib/plugins/dns.py b/ipalib/plugins/dns.py index 60c992026..d5448c879 100644 --- a/ipalib/plugins/dns.py +++ b/ipalib/plugins/dns.py @@ -36,11 +36,21 @@ import six from ipalib.request import context from ipalib import api, errors, output from ipalib import Command -from ipalib.capabilities import VERSION_WITHOUT_CAPABILITIES +from ipalib.capabilities import ( + VERSION_WITHOUT_CAPABILITIES, + client_has_capability) from ipalib.parameters import (Flag, Bool, Int, Decimal, Str, StrEnum, Any, DeprecatedParam, DNSNameParam) from ipalib.plugable import Registry -from ipalib.plugins.baseldap import * +from ipalib.plugins.baseldap import ( + pkey_to_value, + LDAPObject, + LDAPCreate, + LDAPUpdate, + LDAPSearch, + LDAPQuery, + LDAPDelete, + LDAPRetrieve) from ipalib import _, ngettext from ipalib import messages from ipalib.util import (normalize_zonemgr, @@ -53,6 +63,7 @@ from ipalib.util import (normalize_zonemgr, validate_dnssec_zone_forwarder_step1, validate_dnssec_zone_forwarder_step2, verify_host_resolvable) +from ipapython.dn import DN from ipapython.ipautil import CheckedIPAddress, check_zone_overlap from ipapython.dnsutil import DNSName |