Fix two spelling errors

In conf/plugins/ml2/drivers/l2pop.py, the spelling "whent"
should be "when".

And in neutron/pecan_wsgi/hooks/policy_enforcement.py, the
"conventietly" should be "conveniently".

Change-Id: I1e2dd7e27523ac18a3ceadeac5375a008167e54d
This commit is contained in:
huzhiling 2017-03-09 15:39:04 +08:00 committed by Miguel Lavalle
parent 72916b54c9
commit 90d96ccd74
2 changed files with 2 additions and 2 deletions

View File

@ -21,7 +21,7 @@ from neutron._i18n import _
l2_population_options = [
cfg.IntOpt('agent_boot_time', default=180,
help=_('Delay within which agent is expected to update '
'existing ports whent it restarts')),
'existing ports when it restarts')),
]

View File

@ -124,7 +124,7 @@ class PolicyHook(hooks.PecanHook):
resources_copy.append(obj)
# TODO(salv-orlando): as other hooks might need to prefetch resources,
# store them in the request context. However, this should be done in a
# separate hook which is conventietly called before all other hooks
# separate hook which is conveniently called before all other hooks
state.request.context['original_resources'] = original_resources
for item in resources_copy:
try: