diff --git a/keystoneclient/middleware/auth_token.py b/keystoneclient/middleware/auth_token.py index 332f8ac58..327f9d671 100644 --- a/keystoneclient/middleware/auth_token.py +++ b/keystoneclient/middleware/auth_token.py @@ -444,7 +444,7 @@ class AuthProtocol(object): # Token caching via memcache self._cache = None - self._cache_initialized = False # cache already initialzied? + self._cache_initialized = False # cache already initialized? # memcache value treatment, ENCRYPT or MAC self._memcache_security_strategy = \ self._conf_get('memcache_security_strategy') diff --git a/keystoneclient/shell.py b/keystoneclient/shell.py index c3a709f14..2af23a5cc 100644 --- a/keystoneclient/shell.py +++ b/keystoneclient/shell.py @@ -277,7 +277,7 @@ class OpenStackIdentityShell(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 '' @@ -337,7 +337,7 @@ class OpenStackIdentityShell(object): args.os_password = getpass.getpass('OS Password: ') except EOFError: pass - # No password because we did't have a tty or the + # No password because we didn't have a tty or the # user Ctl-D when prompted? if not args.os_password: raise exc.CommandError( diff --git a/keystoneclient/utils.py b/keystoneclient/utils.py index 6902ed301..e3a8466e3 100644 --- a/keystoneclient/utils.py +++ b/keystoneclient/utils.py @@ -25,7 +25,7 @@ from keystoneclient import exceptions # 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