Skip to content

Commit

Permalink
Fix typo in cinder
Browse files Browse the repository at this point in the history
tranfers -> transfers
recurse -> recursive
satisified -> satisfied

There are other typos will be fixed in Oslo. The commit is:
https://review.openstack.org/#/c/59319/

Change-Id: I6fc2be0414962f456a827d294e258637af665524
Closes-Bug: #1255908
  • Loading branch information
huangtianhua committed Dec 2, 2013
1 parent fc02462 commit d02ae92
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion cinder/api/contrib/volume_transfer.py
Expand Up @@ -124,7 +124,7 @@ def index(self, req):

@wsgi.serializers(xml=TransfersTemplate)
def detail(self, req):
"""Returns a detailed list of tranfers."""
"""Returns a detailed list of transfers."""
return self._get_transfers(req, is_detail=True)

def _get_transfers(self, req, is_detail):
Expand Down
4 changes: 2 additions & 2 deletions cinder/api/xmlutil.py
Expand Up @@ -599,7 +599,7 @@ def _serialize(self, parent, obj, siblings, nsmap=None):
# First step, render the element
elems = siblings[0].render(parent, obj, siblings[1:], nsmap)

# Now, recurse to all child elements
# Now, traverse all child elements
seen = set()
for idx, sibling in enumerate(siblings):
for child in sibling:
Expand All @@ -614,7 +614,7 @@ def _serialize(self, parent, obj, siblings, nsmap=None):
if child.tag in sib:
nieces.append(sib[child.tag])

# Now we recurse for every data element
# Now call this function for all data elements recursively
for elem, datum in elems:
self._serialize(elem, datum, nieces)

Expand Down
2 changes: 1 addition & 1 deletion cinder/taskflow/exceptions.py
Expand Up @@ -60,7 +60,7 @@ class JobNotFound(TaskFlowException):


class MissingDependencies(InvalidStateException):
"""Raised when a task has dependencies that can not be satisified."""
"""Raised when a task has dependencies that can not be satisfied."""
message = ("%(task)s requires %(requirements)s but no other task produces"
" said requirements")

Expand Down

0 comments on commit d02ae92

Please sign in to comment.