diff --git a/neutron/conf/plugins/ml2/drivers/l2pop.py b/neutron/conf/plugins/ml2/drivers/l2pop.py index a8b6f23ec3d..b07d37b2cdc 100644 --- a/neutron/conf/plugins/ml2/drivers/l2pop.py +++ b/neutron/conf/plugins/ml2/drivers/l2pop.py @@ -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')), ] diff --git a/neutron/pecan_wsgi/hooks/policy_enforcement.py b/neutron/pecan_wsgi/hooks/policy_enforcement.py index 0af23dd0989..e12f9ff36c3 100644 --- a/neutron/pecan_wsgi/hooks/policy_enforcement.py +++ b/neutron/pecan_wsgi/hooks/policy_enforcement.py @@ -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: