freeipa/ipaclient/install
Armando Neto b4ad0d19a2 Fix pylint 2.0 return-related violations
Aiming to support pylint 2.0 some functions and methods must have their
return statements updated in order to fix two new violations:

- `useless-return` (R1711):
  Useless return at end of function or method Emitted when a single
  "return" or "return None" statement is found at the end of function
  or method definition. This statement can safely be removed because
  Python will implicitly return None

- `inconsistent-return-statements` (R1710):
  Either all return statements in a function should return an
  expression, or none of them should. According to PEP8, if any return
  statement returns an expression, any return statements where no value
  is returned should explicitly state this as return None, and an
  explicit return statement should be present at the end of the
  function (if reachable)

Issue: https://pagure.io/freeipa/issue/7614

Signed-off-by: Armando Neto <abiagion@redhat.com>
Reviewed-By: Christian Heimes <cheimes@redhat.com>
2018-07-11 10:11:38 +02:00
..
__init__.py ipa-client-install: move client install to module 2016-11-11 12:13:56 +01:00
automount.py install: re-introduce option groups 2017-03-13 10:12:40 +01:00
client.py Wait for client certificates 2018-07-09 20:15:18 +02:00
ipa_certupdate.py Ensure that public cert and CA bundle are readable 2018-06-27 11:05:01 +02:00
ipa_client_install.py Improve console logging for ipa-server-install 2018-06-20 08:38:03 +02:00
ipachangeconf.py ipa-client-install: Update how comments are added by ipachangeconf 2018-07-05 19:42:43 +02:00
ipadiscovery.py Fix pylint 2.0 return-related violations 2018-07-11 10:11:38 +02:00
sssd.py sssd.py: Deprecating no-sssd option. 2017-06-08 15:47:16 +02:00
timeconf.py Add absolute_import future imports 2018-04-20 09:43:37 +02:00