diff options
author | anusha-rayani-7 <anusha.rayani@tcs.com> | 2013-12-17 03:55:01 -0500 |
---|---|---|
committer | anusha-rayani-7 <anusha.rayani@tcs.com> | 2013-12-17 07:40:58 -0500 |
commit | 9c232eaf7604b19550107a660bd830844020f08d (patch) | |
tree | a25337953cb43014617a463f841cb948aa88eda6 | |
parent | 992d6f5350952fc6501184b02c477134048952d6 (diff) | |
download | python-heatclient-9c232eaf7604b19550107a660bd830844020f08d.tar.gz |
Misc typos in Heat client
Closes-Bug: #1256000
Change-Id: I1f607dd2c0499c1824442542a17e17bef8a0f020
-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 '' |