Fix exception typo

Fixes bug 1152525

Change-Id: I24b5340b791a7408fbd2c7a371971445a24333b7
This commit is contained in:
Gary Kotton 2013-03-08 09:51:41 +00:00
parent 52849a063d
commit 2e1cefbf48
3 changed files with 3 additions and 3 deletions

View File

@ -484,7 +484,7 @@ class ExtensionManager(object):
if hasattr(extension, 'check_env'):
try:
extension.check_env()
except exceptions.InvalidExtenstionEnv as ex:
except exceptions.InvalidExtensionEnv as ex:
LOG.warn(_("Exception loading extension: %s"), unicode(ex))
return False
return True

View File

@ -242,7 +242,7 @@ class InvalidSharedSetting(Conflict):
"%(network)s. Multiple tenants are using it")
class InvalidExtenstionEnv(BadRequest):
class InvalidExtensionEnv(BadRequest):
message = _("Invalid extension environment: %(reason)s")

View File

@ -31,7 +31,7 @@ class PortSecurityAndIPRequiredForSecurityGroups(qexception.InvalidInput):
" address in order to use security groups.")
class PortSecurityBindingNotFound(qexception.InvalidExtenstionEnv):
class PortSecurityBindingNotFound(qexception.InvalidExtensionEnv):
message = _("Port does not have port security binding.")
PORTSECURITY = 'port_security_enabled'