Typo fix for python-muranoclient
Fixed several typos in python-muranoclient source code comments. Change-Id: I6321403d6dd550a7a764d98c5faaddc320c8857e
This commit is contained in:
parent
5ae1c25363
commit
2f4cefcae7
@ -56,7 +56,7 @@ LOG = logging.getLogger(__name__)
|
||||
# Decorator for cli-args
|
||||
def arg(*args, **kwargs):
|
||||
def _decorator(func):
|
||||
# Because of the sematics of decorator composition if we just append
|
||||
# Because of the semantics of decorator composition if we just append
|
||||
# to the options list positional options will appear to be backwards.
|
||||
func.__dict__.setdefault('arguments', []).insert(0, (args, kwargs))
|
||||
return func
|
||||
|
@ -31,7 +31,7 @@ def compose_package(app_name, manifest, package_dir,
|
||||
Composes package `app_name` with `manifest` file as a template for the
|
||||
manifest and files from `package_dir`.
|
||||
Includes `require` section if any in the manifest file.
|
||||
Puts the resulting .zip file into `acrhive_dir` if present or in the
|
||||
Puts the resulting .zip file into `archive_dir` if present or in the
|
||||
`package_dir`.
|
||||
"""
|
||||
with open(manifest, 'w') as f:
|
||||
|
@ -34,7 +34,7 @@ class BaseTest(testtools.TestCase):
|
||||
self.assertEqual(r1, r2)
|
||||
|
||||
def test_two_resources_with_diff_type_are_not_equal(self):
|
||||
# Two resoruces of different types: never equal
|
||||
# Two resources of different types: never equal
|
||||
r1 = base.Resource(None, {'id': 1})
|
||||
r2 = packages.Package(None, {'id': 1})
|
||||
self.assertNotEqual(r1, r2)
|
||||
|
Loading…
Reference in New Issue
Block a user