From 17e4d6c381b2854dc3f9744738cae5305968ff27 Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 2 May 2014 18:32:06 +0200 Subject: [PATCH] Fixed typos found by RETF rules Rules are available at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos Change-Id: I8de0631346b703870ce8ebe9ce728a0360f1ba7f --- cinderclient/exceptions.py | 2 +- cinderclient/tests/test_utils.py | 2 +- cinderclient/v1/shell.py | 2 +- doc/source/index.rst | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/cinderclient/exceptions.py b/cinderclient/exceptions.py index 751e42592..cf259bf82 100644 --- a/cinderclient/exceptions.py +++ b/cinderclient/exceptions.py @@ -42,7 +42,7 @@ class NoUniqueMatch(Exception): class AuthSystemNotFound(Exception): - """When the user specify a AuthSystem but not installed.""" + """When the user specifies an AuthSystem but not installed.""" def __init__(self, auth_system): self.auth_system = auth_system diff --git a/cinderclient/tests/test_utils.py b/cinderclient/tests/test_utils.py index 92aee5123..9814012a2 100644 --- a/cinderclient/tests/test_utils.py +++ b/cinderclient/tests/test_utils.py @@ -93,7 +93,7 @@ class FindResourceTestCase(test_utils.TestCase): class CaptureStdout(object): - """Context manager for capturing stdout from statments in its's block.""" + """Context manager for capturing stdout from statements in its block.""" def __enter__(self): self.real_stdout = sys.stdout self.stringio = moves.StringIO() diff --git a/cinderclient/v1/shell.py b/cinderclient/v1/shell.py index 2f2eb1989..aef8c2bff 100644 --- a/cinderclient/v1/shell.py +++ b/cinderclient/v1/shell.py @@ -564,7 +564,7 @@ def do_snapshot_reset_state(cs, args): if failure_count == len(args.snapshot): if not single: - msg = ("Unable to reset the state for any of the the specified " + msg = ("Unable to reset the state for any of the specified " "snapshots.") raise exceptions.CommandError(msg) diff --git a/doc/source/index.rst b/doc/source/index.rst index ee2af93cf..bd266b499 100644 --- a/doc/source/index.rst +++ b/doc/source/index.rst @@ -121,7 +121,7 @@ MASTER 1.0.4 ----- -* Added suport for backup-service commands +* Added support for backup-service commands .. _1163546: http://bugs.launchpad.net/python-cinderclient/+bug/1163546 .. _1161857: http://bugs.launchpad.net/python-cinderclient/+bug/1161857 .. _1160898: http://bugs.launchpad.net/python-cinderclient/+bug/1160898 @@ -132,7 +132,7 @@ MASTER ----- * Added support for V2 Cinder API -* Corected upload-volume-to-image help messaging +* Corrected upload-volume-to-image help messaging * Align handling of metadata args for all methods * Update OSLO version * Correct parsing of volume metadata