Skip to content

Commit 43639e1

Browse files
Fix typos
Change-Id: Idd502c8df21da79ff3b9339870f38378f5337879
1 parent 728401b commit 43639e1

11 files changed

Lines changed: 18 additions & 18 deletions

File tree

openstackclient/common/progressbar.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717

1818

1919
class _ProgressBarBase(object):
20-
"""A progress bar provider for a wrapped obect.
20+
"""A progress bar provider for a wrapped object.
2121
2222
Base abstract class used by specific class wrapper to show
2323
a progress bar when the wrapped object are consumed.

openstackclient/common/quota.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ def get_network_quota(self, parsed_args):
205205
class ListQuota(command.Lister, BaseQuota):
206206
_description = _(
207207
"List quotas for all projects with non-default quota values or "
208-
"list detailed quota informations for requested project")
208+
"list detailed quota information for requested project")
209209

210210
def _get_detailed_quotas(self, parsed_args):
211211
columns = (
@@ -230,7 +230,7 @@ def _get_detailed_quotas(self, parsed_args):
230230
result = []
231231
for resource, values in quotas.items():
232232
# NOTE(slaweq): there is no detailed quotas info for some resources
233-
# and it should't be displayed here
233+
# and it shouldn't be displayed here
234234
if type(values) is dict:
235235
result.append({
236236
'resource': resource,

openstackclient/compute/v2/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2466,7 +2466,7 @@ def take_action(self, parsed_args):
24662466
# and 'image' missing in the server response during
24672467
# infrastructure failure situations.
24682468
# For those servers with partial constructs we just skip the
2469-
# processing of the image and flavor informations.
2469+
# processing of the image and flavor information.
24702470
if not hasattr(s, 'image') or not hasattr(s, 'flavor'):
24712471
continue
24722472
if 'id' in s.image:
@@ -4292,7 +4292,7 @@ def _show_progress(progress):
42924292

42934293
server_obj.shelve()
42944294

4295-
# if we don't hav to wait, either because it was requested explicitly
4295+
# if we don't have to wait, either because it was requested explicitly
42964296
# or is required implicitly, then our job is done
42974297
if not parsed_args.wait and not parsed_args.offload:
42984298
return

openstackclient/identity/v3/endpoint_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@ def get_parser(self, prog_name):
268268
parser.add_argument(
269269
'--name',
270270
metavar='<name>',
271-
help=_('New enpoint group name'),
271+
help=_('New endpoint group name'),
272272
)
273273
parser.add_argument(
274274
'--filters',

openstackclient/tests/functional/base.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ class TestCase(testtools.TestCase):
4242
def openstack(cls, cmd, cloud=ADMIN_CLOUD, fail_ok=False):
4343
"""Executes openstackclient command for the given action
4444
45-
NOTE(dtroyer): There is a subtle distinction between pasing
45+
NOTE(dtroyer): There is a subtle distinction between passing
4646
cloud=None and cloud='': for compatibility reasons passing
4747
cloud=None continues to include the option '--os-auth-type none'
4848
in the command while passing cloud='' omits the '--os-auth-type'
@@ -61,7 +61,7 @@ def openstack(cls, cmd, cloud=ADMIN_CLOUD, fail_ok=False):
6161
fail_ok=fail_ok
6262
)
6363
else:
64-
# Execure command with an explicit cloud specified
64+
# Execute command with an explicit cloud specified
6565
return execute(
6666
'openstack --os-cloud=' + cloud + ' ' + cmd,
6767
fail_ok=fail_ok

openstackclient/tests/functional/volume/v1/test_volume_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ def test_multi_delete(self):
118118
raw_output = self.openstack(cmd)
119119
self.assertOutput('', raw_output)
120120

121-
# NOTE: Add some basic funtional tests with the old format to
121+
# NOTE: Add some basic functional tests with the old format to
122122
# make sure the command works properly, need to change
123123
# these to new test format when beef up all tests for
124-
# volume tye commands.
124+
# volume type commands.
125125
def test_encryption_type(self):
126126
encryption_type = uuid.uuid4().hex
127127
# test create new encryption type

openstackclient/tests/functional/volume/v2/test_volume_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ def test_multi_delete(self):
139139
raw_output = self.openstack(cmd)
140140
self.assertOutput('', raw_output)
141141

142-
# NOTE: Add some basic funtional tests with the old format to
142+
# NOTE: Add some basic functional tests with the old format to
143143
# make sure the command works properly, need to change
144144
# these to new test format when beef up all tests for
145-
# volume tye commands.
145+
# volume type commands.
146146
def test_encryption_type(self):
147147
name = uuid.uuid4().hex
148148
encryption_type = uuid.uuid4().hex

openstackclient/tests/functional/volume/v3/test_volume_type.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,10 @@ def test_multi_delete(self):
139139
raw_output = self.openstack(cmd)
140140
self.assertOutput('', raw_output)
141141

142-
# NOTE: Add some basic funtional tests with the old format to
142+
# NOTE: Add some basic functional tests with the old format to
143143
# make sure the command works properly, need to change
144144
# these to new test format when beef up all tests for
145-
# volume tye commands.
145+
# volume type commands.
146146
def test_encryption_type(self):
147147
name = uuid.uuid4().hex
148148
encryption_type = uuid.uuid4().hex

openstackclient/tests/unit/compute/v2/fakes.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ def create_one_server_group(attrs=None):
12851285

12861286

12871287
class FakeServerGroupV264(object):
1288-
"""Fake one server group fo API >= 2.64"""
1288+
"""Fake one server group for API >= 2.64"""
12891289

12901290
@staticmethod
12911291
def create_one_server_group(attrs=None):
@@ -1400,7 +1400,7 @@ def create_one_comp_quota(attrs=None):
14001400

14011401
@staticmethod
14021402
def create_one_default_comp_quota(attrs=None):
1403-
"""Crate one quota"""
1403+
"""Create one quota"""
14041404

14051405
attrs = attrs or {}
14061406

openstackclient/volume/v1/volume_type.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ def get_parser(self, prog_name):
411411
"--encryption-type",
412412
action="store_true",
413413
help=_("Remove the encryption type for this volume type "
414-
"(admin oly)"),
414+
"(admin only)"),
415415
)
416416
return parser
417417

0 commit comments

Comments
 (0)