From 5a78fdf4eca4d74ce32c6e31d1e01ee1d21ae06d Mon Sep 17 00:00:00 2001 From: Christian Berendt Date: Fri, 2 May 2014 18:37:10 +0200 Subject: [PATCH] fixed typos found by RETF rules rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos Change-Id: If1f71f38b48a1b1a887ddc3b153e653995989cc3 --- heatclient/common/http.py | 2 +- heatclient/tests/test_environment_format.py | 2 +- heatclient/v1/shell.py | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/heatclient/common/http.py b/heatclient/common/http.py index 887e87a4..48c83f64 100644 --- a/heatclient/common/http.py +++ b/heatclient/common/http.py @@ -162,7 +162,7 @@ class HTTPClient(object): # that we should follow that URL with the same method as before, # requests doesn't follow that and send a GET instead for the method. # Hopefully this could be fixed as they say in a comment in a future - # point version i.e: 3.x + # point version i.e.: 3.x # See issue: https://github.com/kennethreitz/requests/issues/1704 allow_redirects = False diff --git a/heatclient/tests/test_environment_format.py b/heatclient/tests/test_environment_format.py index a615784f..eb01ba0c 100644 --- a/heatclient/tests/test_environment_format.py +++ b/heatclient/tests/test_environment_format.py @@ -56,7 +56,7 @@ parameters: } self.assertIn(expect, str(e)) def test_parse_document(self): - env = '["foo" , "bar"]' + env = '["foo", "bar"]' expect = 'The environment is not a valid YAML mapping data type.' e = self.assertRaises(ValueError, environment_format.parse, env) self.assertIn(expect, str(e)) diff --git a/heatclient/v1/shell.py b/heatclient/v1/shell.py index 8857b618..09794fc5 100644 --- a/heatclient/v1/shell.py +++ b/heatclient/v1/shell.py @@ -119,7 +119,7 @@ def do_stack_create(hc, args): @utils.arg('-u', '--template-url', metavar='', help='URL of template.') @utils.arg('-o', '--template-object', metavar='', - help='URL to retrieve template object (e.g from swift).') + help='URL to retrieve template object (e.g. from swift).') @utils.arg('-c', '--create-timeout', metavar='', type=int, help='Stack creation timeout in minutes.' @@ -183,7 +183,7 @@ def do_stack_adopt(hc, args): @utils.arg('-u', '--template-url', metavar='', help='URL of template.') @utils.arg('-o', '--template-object', metavar='', - help='URL to retrieve template object (e.g from swift)') + help='URL to retrieve template object (e.g. from swift)') @utils.arg('-P', '--parameters', metavar='', help='Parameter values used to preview the stack. ' 'This can be specified multiple times, or once with parameters '