fixed typos found by RETF rules

rules are avaialble at https://en.wikipedia.org/wiki/Wikipedia:AutoWikiBrowser/Typos

Change-Id: If1f71f38b48a1b1a887ddc3b153e653995989cc3
This commit is contained in:
Christian Berendt 2014-05-02 18:37:10 +02:00
parent aa360404ca
commit 5a78fdf4ec
3 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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))

View File

@ -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 '