Fixed misspellings of common words
Fixed misspelling of common words found by the misspellings tool. Closes-Bug: #1257531 Change-Id: If77c1a98a978bbb6c300c423c3f293e4d6f7b15b
This commit is contained in:
parent
d2b62b4000
commit
3b71f46628
|
@ -35,7 +35,7 @@ declared:
|
|||
|
||||
However, import_opt() has a weakness - if 'bar' imports 'foo' using the
|
||||
import builtin and doesn't use import_opt() to import 'blaa', then 'blaa'
|
||||
can still be used without problems. Similarily, where multiple options
|
||||
can still be used without problems. Similarly, where multiple options
|
||||
are registered a module imported via importopt(), a lazy programmer can
|
||||
get away with only declaring a dependency on a single option.
|
||||
|
||||
|
|
|
@ -80,7 +80,7 @@ def execute(*cmd, **kwargs):
|
|||
:param cmd: Passed to subprocess.Popen.
|
||||
:type cmd: string
|
||||
:param process_input: Send to opened process.
|
||||
:type proces_input: string
|
||||
:type process_input: string
|
||||
:param check_exit_code: Single bool, int, or list of allowed exit
|
||||
codes. Defaults to [0]. Raise
|
||||
:class:`ProcessExecutionError` unless
|
||||
|
|
|
@ -158,7 +158,7 @@ class DictSerializerTest(test.BaseTestCase):
|
|||
|
||||
def test_dispatch_default(self):
|
||||
serializer = wsgi.DictSerializer()
|
||||
self.assertEqual(serializer.serialize({}, 'NonExistantAction'), '')
|
||||
self.assertEqual(serializer.serialize({}, 'NonExistentAction'), '')
|
||||
|
||||
|
||||
class XMLDictSerializerTest(test.BaseTestCase):
|
||||
|
|
|
@ -579,7 +579,7 @@ class MessageTestCase(test.BaseTestCase):
|
|||
self.assertEqual(m2, msgid % {'test1': 'foo2', 'test2': 'bar2'})
|
||||
|
||||
def test_comparator_operators(self):
|
||||
"""Verify Message comparison is equivalent to string comparision."""
|
||||
"""Verify Message comparison is equivalent to string comparison."""
|
||||
m1 = self._get_full_test_message()
|
||||
m2 = copy.deepcopy(m1)
|
||||
m3 = "1" + m1
|
||||
|
@ -644,7 +644,7 @@ class LocaleHandlerTestCase(test.BaseTestCase):
|
|||
self.locale_handler = gettextutils.LocaleHandler(
|
||||
'zh_CN', self.buffer_handler)
|
||||
self.logger = logging.getLogger('localehander_logger')
|
||||
self.logger.propogate = False
|
||||
self.logger.propagate = False
|
||||
self.logger.setLevel(logging.DEBUG)
|
||||
self.logger.addHandler(self.locale_handler)
|
||||
|
||||
|
|
Loading…
Reference in New Issue