Typo in modules/command.py, 'is' -> 'if'
This commit is contained in:
parent
ec72787f86
commit
5553ac9e49
1 changed files with 1 additions and 1 deletions
|
@ -205,7 +205,7 @@ class Module(ModuleManager.BaseModule):
|
||||||
return hook.get_kwarg("help", None) or hook.docstring.description
|
return hook.get_kwarg("help", None) or hook.docstring.description
|
||||||
def _get_usage(self, hook, command):
|
def _get_usage(self, hook, command):
|
||||||
usage = hook.get_kwarg("usage", None)
|
usage = hook.get_kwarg("usage", None)
|
||||||
is not usage:
|
if not usage:
|
||||||
usages = hook.docstring.var_items.get("usage", None)
|
usages = hook.docstring.var_items.get("usage", None)
|
||||||
if usages:
|
if usages:
|
||||||
return " | ".join(
|
return " | ".join(
|
||||||
|
|
Loading…
Reference in a new issue