freeipa/ipalib
Christian Heimes 2cbaf15604 Replace LooseVersion
pylint is having a hard time with distutils.version in tox's virtual
envs. virtualenv uses some tricks to provide a virtual distutils
package, pylint can't cope with.

https://github.com/PyCQA/pylint/issues/73 suggests to use pkg_resources
instead. pkg_resources' version parser has some more benefits, e.g. PEP
440 conformity. But pkg_resources.parse_version() is a heavy weight solution
with reduced functionality, e.g. no access to major version.

For API_VERSION and plugin version we can use a much simpler and faster
approach.

https://fedorahosted.org/freeipa/ticket/6468

Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Martin Basti <mbasti@redhat.com>
Reviewed-By: Martin Babinsky <mbabinsk@redhat.com>
2016-11-24 15:46:40 +01:00
..
install install: introduce installer class hierarchy 2016-11-11 12:17:25 +01:00
__init__.py ipalib: move server-side plugins to ipaserver 2016-06-03 09:00:34 +02:00
aci.py Remove unused variables in the code 2016-09-27 13:35:58 +02:00
backend.py ldap2: change default time/size limit 2016-11-07 11:34:03 +01:00
base.py Modernize use of range() 2015-09-01 11:42:01 +02:00
capabilities.py Replace LooseVersion 2016-11-24 15:46:40 +01:00
certstore.py x509: use python-cryptography to process certs 2016-11-10 10:21:47 +01:00
cli.py Add 'ipa localenv' subcommand 2016-11-18 14:48:48 +01:00
config.py Make api.env.nss_dir relative to api.env.confdir 2016-11-16 14:45:08 +01:00
constants.py Turn replication manager group into ReplicationManager class member 2016-11-17 00:39:17 +01:00
crud.py ipalib, ipaserver: fix incorrect API.register calls in docstrings 2016-05-25 16:06:26 +02:00
dns.py dns: do not rely on custom param fields in record attributes 2016-06-20 16:39:12 +02:00
errors.py Add HTTPRequestError class 2016-09-07 12:49:28 +02:00
frontend.py Replace LooseVersion 2016-11-24 15:46:40 +01:00
krb_utils.py pylint: supress false positive no-member errors 2016-03-02 14:57:36 +01:00
Makefile.am Build: Makefiles for Python packages 2016-11-09 13:08:32 +01:00
messages.py Fix malformed or missing docstrings in ipalib/messages 2016-08-16 11:59:35 +02:00
output.py allow 'value' output param in commands without primary key 2016-07-20 13:57:01 +02:00
parameters.py pylint: enable the import-error check 2016-10-24 14:11:08 +02:00
pkcs10.py cert-request: accept CSRs with extraneous data 2016-11-11 15:42:26 +01:00
plugable.py Replace LooseVersion 2016-11-24 15:46:40 +01:00
request.py remove trailing newlines form python modules 2016-10-12 10:38:52 +02:00
rpc.py Fix error message encoding 2016-10-25 14:01:06 +02:00
setup.cfg Port all setup.py to setuptools 2016-10-20 18:43:37 +02:00
setup.py Add install requirements to Python packages 2016-11-16 22:58:39 +01:00
text.py Remove unused imports 2015-12-23 07:59:22 +01:00
util.py Pylint: fix the rest of unused local variables 2016-10-11 16:50:32 +02:00
x509.py Remove __main__ code from ipalib.x509 and ipalib.pkcs10 2016-11-10 10:21:47 +01:00