Skip to content

Commit ccd877d

Browse files
Zuulopenstack-gerrit
authored andcommitted
Merge "Fix typos"
2 parents 4b97a85 + 43639e1 commit ccd877d

File tree

11 files changed

+18
-18
lines changed

11 files changed

+18
-18
lines changed

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
@@ -2537,7 +2537,7 @@ def take_action(self, parsed_args):
25372537
# and 'image' missing in the server response during
25382538
# infrastructure failure situations.
25392539
# For those servers with partial constructs we just skip the
2540-
# processing of the image and flavor informations.
2540+
# processing of the image and flavor information.
25412541
if not hasattr(s, 'image') or not hasattr(s, 'flavor'):
25422542
continue
25432543

@@ -4020,7 +4020,7 @@ def _show_progress(progress):
40204020

40214021
server_obj.shelve()
40224022

4023-
# if we don't hav to wait, either because it was requested explicitly
4023+
# if we don't have to wait, either because it was requested explicitly
40244024
# or is required implicitly, then our job is done
40254025
if not parsed_args.wait and not parsed_args.offload:
40264026
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
@@ -51,7 +51,7 @@ class TestCase(testtools.TestCase):
5151
def openstack(cls, cmd, cloud=ADMIN_CLOUD, fail_ok=False):
5252
"""Executes openstackclient command for the given action
5353
54-
NOTE(dtroyer): There is a subtle distinction between pasing
54+
NOTE(dtroyer): There is a subtle distinction between passing
5555
cloud=None and cloud='': for compatibility reasons passing
5656
cloud=None continues to include the option '--os-auth-type none'
5757
in the command while passing cloud='' omits the '--os-auth-type'
@@ -70,7 +70,7 @@ def openstack(cls, cmd, cloud=ADMIN_CLOUD, fail_ok=False):
7070
fail_ok=fail_ok
7171
)
7272
else:
73-
# Execure command with an explicit cloud specified
73+
# Execute command with an explicit cloud specified
7474
return execute(
7575
'openstack --os-cloud=' + cloud + ' ' + cmd,
7676
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
@@ -1339,7 +1339,7 @@ def create_one_server_group(attrs=None):
13391339

13401340

13411341
class FakeServerGroupV264(object):
1342-
"""Fake one server group fo API >= 2.64"""
1342+
"""Fake one server group for API >= 2.64"""
13431343

13441344
@staticmethod
13451345
def create_one_server_group(attrs=None):
@@ -1454,7 +1454,7 @@ def create_one_comp_quota(attrs=None):
14541454

14551455
@staticmethod
14561456
def create_one_default_comp_quota(attrs=None):
1457-
"""Crate one quota"""
1457+
"""Create one quota"""
14581458

14591459
attrs = attrs or {}
14601460

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)