summaryrefslogtreecommitdiff
path: root/novaclient
diff options
context:
space:
mode:
authorDao Cong Tien <tiendc@vn.fujitsu.com>2016-04-06 09:34:00 +0700
committerDao Cong Tien <tiendc@vn.fujitsu.com>2016-04-06 09:36:28 +0700
commita967e40185d4a8682194604c2225638e1ec88ed1 (patch)
tree9c338eacc0543cec9de2c9a91b2013d8974140ca /novaclient
parent41fccc3828c2167372b375fb269ffd1431692876 (diff)
downloadpython-novaclient-a967e40185d4a8682194604c2225638e1ec88ed1.tar.gz
Fix typos in docstrings and comments
Change-Id: Ib94c2b999f8295ec526d4e44883b86ab8b5a0688
Diffstat (limited to 'novaclient')
-rw-r--r--novaclient/api_versions.py10
-rw-r--r--novaclient/shell.py4
-rw-r--r--novaclient/v2/client.py2
-rw-r--r--novaclient/v2/shell.py6
4 files changed, 11 insertions, 11 deletions
diff --git a/novaclient/api_versions.py b/novaclient/api_versions.py
index 5f7198c0..8774ea97 100644
--- a/novaclient/api_versions.py
+++ b/novaclient/api_versions.py
@@ -49,11 +49,11 @@ class APIVersion(object):
def __init__(self, version_str=None):
"""Create an API version object.
- :param version_string: String representation of APIVersionRequest.
- Correct format is 'X.Y', where 'X' and 'Y'
- are int values. None value should be used
- to create Null APIVersionRequest, which is
- equal to 0.0
+ :param version_str: String representation of APIVersionRequest.
+ Correct format is 'X.Y', where 'X' and 'Y'
+ are int values. None value should be used
+ to create Null APIVersionRequest, which is
+ equal to 0.0
"""
self.ver_major = 0
self.ver_minor = 0
diff --git a/novaclient/shell.py b/novaclient/shell.py
index 425fdb16..df2f581b 100644
--- a/novaclient/shell.py
+++ b/novaclient/shell.py
@@ -729,7 +729,7 @@ class OpenStackComputeShell(object):
do_help = ('help' in argv) or (
'--help' in argv) or ('-h' in argv) or not argv
- # bash-completion should not require authentification
+ # bash-completion should not require authentication
skip_auth = do_help or (
'bash-completion' in argv)
@@ -938,7 +938,7 @@ class OpenStackComputeShell(object):
if utils.isunauthenticated(args.func):
# NOTE(alex_xu): We need authentication for discover microversion.
# But the subcommands may needn't it. If the subcommand needn't,
- # we clear the session arguements.
+ # we clear the session arguments.
keystone_session = None
keystone_auth = None
diff --git a/novaclient/v2/client.py b/novaclient/v2/client.py
index 5bbd32b2..60cf0878 100644
--- a/novaclient/v2/client.py
+++ b/novaclient/v2/client.py
@@ -80,7 +80,7 @@ class Client(object):
:param str proxy_token: Proxy Token
:param str region_name: Region Name
:param str endpoint_type: Endpoint Type
- :param str extensions: Exensions
+ :param str extensions: Extensions
:param str service_type: Service Type
:param str service_name: Service Name
:param str volume_service_name: Volume Service Name
diff --git a/novaclient/v2/shell.py b/novaclient/v2/shell.py
index e42239fc..8c28378e 100644
--- a/novaclient/v2/shell.py
+++ b/novaclient/v2/shell.py
@@ -1462,7 +1462,7 @@ def do_image_delete(cs, args):
metavar='<changes_since>',
default=None,
help=_("List only servers changed after a certain point of time."
- "The provided time should be an ISO 8061 formated time."
+ "The provided time should be an ISO 8061 formatted time."
"ex 2016-03-04T06:27:59Z ."))
def do_list(cs, args):
"""List active servers."""
@@ -2064,7 +2064,7 @@ def _print_server(cs, args, server=None):
# findall(name=blah) and due a REST /details which is not the same
# as a .get() and doesn't get the information about flavors and
# images. This fix it as we redo the call with the id which does a
- # .get() to get all informations.
+ # .get() to get all information.
if not server:
server = _find_server(cs, args.server)
@@ -4199,7 +4199,7 @@ def _quota_update(manager, identifier, args):
if updates:
# default value of force is None to make sure this client
- # will be compatibile with old nova server
+ # will be compatible with old nova server
force_update = getattr(args, 'force', None)
user_id = getattr(args, 'user', None)
if isinstance(manager, quotas.QuotaSetManager):