diff options
author | Christian Berendt <berendt@b1-systems.de> | 2014-05-02 18:37:10 +0200 |
---|---|---|
committer | Christian Berendt <berendt@b1-systems.de> | 2014-05-03 10:10:51 +0200 |
commit | 5a78fdf4eca4d74ce32c6e31d1e01ee1d21ae06d (patch) | |
tree | 7faaa98ad4a89263a3fe067cf13356fe6cbd2cf0 | |
parent | aa360404cad8b4ec66a6ed6e1e921ee60dc9da65 (diff) | |
download | python-heatclient-5a78fdf4eca4d74ce32c6e31d1e01ee1d21ae06d.tar.gz |
fixed typos found by RETF rules
rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos
Change-Id: If1f71f38b48a1b1a887ddc3b153e653995989cc3
-rw-r--r-- | heatclient/common/http.py | 2 | ||||
-rw-r--r-- | heatclient/tests/test_environment_format.py | 2 | ||||
-rw-r--r-- | 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 887e87a..48c83f6 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 a615784..eb01ba0 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 8857b61..09794fc 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='<URL>', help='URL of template.') @utils.arg('-o', '--template-object', metavar='<URL>', - 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='<TIMEOUT>', type=int, help='Stack creation timeout in minutes.' @@ -183,7 +183,7 @@ def do_stack_adopt(hc, args): @utils.arg('-u', '--template-url', metavar='<URL>', help='URL of template.') @utils.arg('-o', '--template-object', metavar='<URL>', - 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='<KEY1=VALUE1;KEY2=VALUE2...>', help='Parameter values used to preview the stack. ' 'This can be specified multiple times, or once with parameters ' |