Jan Cholasta
9e3c16e322
ipalib: use relative imports for cross-plugin imports
...
This will make it possible to move the plugin modules between ipalib,
ipaclient and ipaserver without having to change the imports.
https://fedorahosted.org/freeipa/ticket/4739
Reviewed-By: David Kupka <dkupka@redhat.com >
2016-05-25 16:06:26 +02:00
Petr Viktorin
890f83b0bb
radiusproxy plugin: Use str(error) rather than error.message
...
In Python 3, the "message" attribute has been removed in favor of
calling str() on the error.
Part of the work for https://fedorahosted.org/freeipa/ticket/4985
Reviewed-By: Martin Basti <mbasti@redhat.com >
Reviewed-By: Petr Spacek <pspacek@redhat.com >
2016-05-05 16:42:46 +02:00
Martin Basti
e1192ebd97
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 >
2015-12-23 07:59:22 +01:00
Petr Viktorin
27dabb4528
Modernize 'except' clauses
...
The 'as' syntax works from Python 2 on, and Python 3 will
drop the "comma" syntax.
Reviewed-By: Tomas Babej <tbabej@redhat.com >
2015-08-12 18:17:23 +02:00
Petr Viktorin
e3b20b9d03
Split long docstrings that were recently modified
...
When the strings are changed again, translators will only need to
re-translate the modified parts.
See: https://fedorahosted.org/freeipa/ticket/3587
Reviewed-By: Martin Kosek <mkosek@redhat.com >
2014-06-10 13:19:32 +02:00
Nathaniel McCallum
4cb2c2813d
Add RADIUS proxy support to ipalib CLI
...
https://fedorahosted.org/freeipa/ticket/3368
2013-12-03 14:49:10 +01:00