diff options
-rw-r--r-- | heatclient/common/utils.py | 2 | ||||
-rw-r--r-- | heatclient/shell.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/heatclient/common/utils.py b/heatclient/common/utils.py index f9c6619..cddd6dc 100644 --- a/heatclient/common/utils.py +++ b/heatclient/common/utils.py @@ -34,7 +34,7 @@ supported_formats = { # Decorator for cli-args def arg(*args, **kwargs): def _decorator(func): - # Because of the sematics of decorator composition if we just append + # Because of the semantics of decorator composition if we just append # to the options list positional options will appear to be backwards. func.__dict__.setdefault('arguments', []).insert(0, (args, kwargs)) return func diff --git a/heatclient/shell.py b/heatclient/shell.py index 7b3a40a..ecfc887 100644 --- a/heatclient/shell.py +++ b/heatclient/shell.py @@ -214,7 +214,7 @@ class HeatShell(object): def _find_actions(self, subparsers, actions_module): for attr in (a for a in dir(actions_module) if a.startswith('do_')): - # I prefer to be hypen-separated instead of underscores. + # I prefer to be hyphen-separated instead of underscores. command = attr[3:].replace('_', '-') callback = getattr(actions_module, attr) desc = callback.__doc__ or '' |