From 3a97cb27d3f4388bc0246829f0c9da044bf00cff Mon Sep 17 00:00:00 2001 From: git-harry Date: Thu, 8 Jan 2015 12:21:33 +0000 Subject: [PATCH] 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 --- cinderclient/v2/shell.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cinderclient/v2/shell.py b/cinderclient/v2/shell.py index a0f697746..fe1eb56f7 100644 --- a/cinderclient/v2/shell.py +++ b/cinderclient/v2/shell.py @@ -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.")