v2 error message grammatical error

This commit fixes an error that occurs in a number of places in the v2
shell; the word 'the' is missing from a number of the error message
strings.

Change-Id: I6d1026c965f84c9c39fcfd175b5d5cbbbad5ef5c
This commit is contained in:
git-harry
2015-01-08 12:21:33 +00:00
parent 9c1ec1d19c
commit 3a97cb27d3

View File

@@ -390,7 +390,7 @@ def do_delete(cs, args):
failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e))
if failure_count == len(args.volume):
raise exceptions.CommandError("Unable to delete any of specified "
raise exceptions.CommandError("Unable to delete any of the specified "
"volumes.")
@@ -408,7 +408,7 @@ def do_force_delete(cs, args):
failure_count += 1
print("Delete for volume %s failed: %s" % (volume, e))
if failure_count == len(args.volume):
raise exceptions.CommandError("Unable to force delete any of "
raise exceptions.CommandError("Unable to force delete any of the "
"specified volumes.")
@@ -1851,7 +1851,7 @@ def do_consisgroup_delete(cs, args):
print("Delete for consistency group %s failed: %s" %
(consistencygroup, e))
if failure_count == len(args.consistencygroup):
raise exceptions.CommandError("Unable to delete any of specified "
raise exceptions.CommandError("Unable to delete any of the specified "
"consistency groups.")
@@ -1946,5 +1946,5 @@ def do_cgsnapshot_delete(cs, args):
failure_count += 1
print("Delete for cgsnapshot %s failed: %s" % (cgsnapshot, e))
if failure_count == len(args.cgsnapshot):
raise exceptions.CommandError("Unable to delete any of specified "
raise exceptions.CommandError("Unable to delete any of the specified "
"cgsnapshots.")