Merge "Wrong usage of "a""

This commit is contained in:
Jenkins 2015-12-28 17:04:22 +00:00 committed by Gerrit Code Review
commit f5bd73e62f
6 changed files with 6 additions and 6 deletions

View File

@ -56,7 +56,7 @@ CONF.register_opts(image_helper_opts)
def qemu_img_info(path, run_as_root=True):
"""Return a object containing the parsed output from qemu-img info."""
"""Return an object containing the parsed output from qemu-img info."""
cmd = ('env', 'LC_ALL=C', 'qemu-img', 'info', path)
if os.name == 'nt':
cmd = cmd[2:]

View File

@ -221,7 +221,7 @@ class HostState(object):
self._append_backend_info(capability)
self.pools[pool_name] = single_pool
else:
# this is a update from legacy driver
# this is an update from legacy driver
try:
single_pool = self.pools[pool_name]
except KeyError:

View File

@ -282,7 +282,7 @@ def last_completed_audit_period(unit=None):
def list_of_dicts_to_dict(seq, key):
"""Convert list of dicts to a indexted dict.
"""Convert list of dicts to an indexted dict.
Takes a list of dicts, and converts it a nested dict
indexed by <key>

View File

@ -461,7 +461,7 @@ class API(base.Base):
# NOTE(thangp): Update is called by various APIs, some of which are
# not yet using oslo_versionedobjects. We need to handle the case
# where volume is either a dict or a oslo_versionedobject.
# where volume is either a dict or an oslo_versionedobject.
if isinstance(volume, objects_base.CinderObject):
volume.update(fields)
volume.save()

View File

@ -786,7 +786,7 @@ class EMCVMAXMasking(object):
def _create_or_get_initiator_group(
self, conn, controllerConfigService, igGroupName,
connector, storageSystemName, extraSpecs):
"""Attempt to create a initiatorGroup.
"""Attempt to create an initiatorGroup.
If one already exists with the same Initiator/wwns then get it.
Check to see if an initiatorGroup already exists, that matches the

View File

@ -356,7 +356,7 @@ class HnasBackend(object):
tgt_list.append(tgt)
if tgtalias is not None:
# We tried to find 'tgtalias' but didn't find. Return a empty
# We tried to find 'tgtalias' but didn't find. Return an empty
# list.
LOG.debug("There's no target %(alias)s in EVS %(evsid)s.",
{'alias': tgtalias, 'evsid': evsid})