Fix exception typo
Fixes bug 1152525 Change-Id: I24b5340b791a7408fbd2c7a371971445a24333b7
This commit is contained in:
parent
52849a063d
commit
2e1cefbf48
@ -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
|
||||
|
@ -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")
|
||||
|
||||
|
||||
|
@ -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'
|
||||
|
Loading…
Reference in New Issue
Block a user