diff options
| author | Christian Heimes <cheimes@redhat.com> | 2018-11-26 10:53:40 +0100 |
|---|---|---|
| committer | Christian Heimes <cheimes@redhat.com> | 2018-11-26 16:54:43 +0100 |
| commit | 533a5b2633e8b5d9049256ea085324cbc45c6e73 (patch) | |
| tree | dd6d7b1443e67610fdb7584e320cfdee40863ce5 /ipaclient | |
| parent | 58053b27475a6fe6f84b7cb85229938e7839af62 (diff) | |
| download | freeipa-533a5b2633e8b5d9049256ea085324cbc45c6e73.tar.gz freeipa-533a5b2633e8b5d9049256ea085324cbc45c6e73.tar.xz freeipa-533a5b2633e8b5d9049256ea085324cbc45c6e73.zip | |
pylint 2.2: Fix unnecessary pass statement
pylint 2.2.0 has a new checker for unnecessary pass statements. There is
no need to have a pass statement in functions or classes with a doc
string.
Fixes: https://pagure.io/freeipa/issue/7772
Signed-off-by: Christian Heimes <cheimes@redhat.com>
Reviewed-By: Thomas Woerner <twoerner@redhat.com>
Diffstat (limited to 'ipaclient')
| -rw-r--r-- | ipaclient/plugins/rpcclient.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ipaclient/plugins/rpcclient.py b/ipaclient/plugins/rpcclient.py index af2bc38d4..d3cb21504 100644 --- a/ipaclient/plugins/rpcclient.py +++ b/ipaclient/plugins/rpcclient.py @@ -39,14 +39,14 @@ if 'in_server' in api.env and api.env.in_server is False: class rpcclient(xmlclient): """xmlclient renamed to 'rpcclient'""" - pass + register()(rpcclient) elif api.env.rpc_protocol == 'jsonrpc': class rpcclient(jsonclient): """jsonclient renamed to 'rpcclient'""" - pass + register()(rpcclient) else: |
