diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2011-01-25 18:46:26 +0100 |
---|---|---|
committer | Simo Sorce <ssorce@redhat.com> | 2011-01-25 14:01:36 -0500 |
commit | ab2ca8022e4bd89e87e0b7ce908022e6df350866 (patch) | |
tree | 2f2bde264c001886e90dfb10466539e8f8b75782 /ipalib/cli.py | |
parent | 27da394c442e98334726a7aae7da885c840be350 (diff) | |
download | freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.gz freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.tar.xz freeipa-ab2ca8022e4bd89e87e0b7ce908022e6df350866.zip |
Fix assorted bugs found by pylint
Diffstat (limited to 'ipalib/cli.py')
-rw-r--r-- | ipalib/cli.py | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ipalib/cli.py b/ipalib/cli.py index 2d219b71b..9dda1c276 100644 --- a/ipalib/cli.py +++ b/ipalib/cli.py @@ -620,17 +620,6 @@ class help(frontend.Local): if module == __name__: return return module.split('.')[-1] - # get representation in the form of 'base_module.bare_module.command()' - r = repr(cmd_plugin_proxy) - # skip base module part and the following dot - start = r.find(self._PLUGIN_BASE_MODULE) - if start == -1: - # command module isn't a plugin module, it's a builtin - return None - start += len(self._PLUGIN_BASE_MODULE) + 1 - # parse bare module name - end = r.find('.', start) - return r[start:end] def _get_module_topic(self, module_name): if not sys.modules[module_name]: |