Wrong usage of "a"

Wrong usage of "a" in the mesages:
"a integer representing the number of matched stacks"
"Send a signal and a exception will raise"
Should be:
"an integer representing the number of matched stacks"
"Send a signal and an exception will raise"
Totally 3 occasion in Heat base code.

Change-Id: Ic5ff16dd8d31d4573490ac423f7457e75b872e6b
This commit is contained in:
hgangwx 2015-12-26 18:06:39 +08:00
parent 7ae4b3212d
commit 4235bd366b
3 changed files with 3 additions and 3 deletions

View File

@ -550,7 +550,7 @@ class EngineService(service.Service):
multiple tags using the boolean AND expression
:param not_tags_any: count stacks not containing these tags, combine
multiple tags using the boolean OR expression
:returns: a integer representing the number of matched stacks
:returns: an integer representing the number of matched stacks
"""
return stack_object.Stack.count_all(
cnxt,

View File

@ -158,7 +158,7 @@ class EngineClient(object):
multiple tags using the boolean AND expression
:param not_tags_any: count stacks not containing these tags, combine
multiple tags using the boolean OR expression
:returns: a integer representing the number of matched stacks
:returns: an integer representing the number of matched stacks
"""
return self.call(ctxt, self.make_msg('count_stacks',
filters=filters,

View File

@ -729,7 +729,7 @@ outputs:
self._wait_for_resource_status(
stack_identifier, 'JobServerGroup', 'SUSPEND_COMPLETE')
# Send a signal and a exception will raise
# Send a signal and an exception will raise
ex = self.assertRaises(exc.BadRequest,
self.client.resources.signal,
stack_identifier, 'ScaleUpPolicy')