Skip to content

Commit

Permalink
Fix exception typo
Browse files Browse the repository at this point in the history
Fixes bug 1152525

Change-Id: I24b5340b791a7408fbd2c7a371971445a24333b7
  • Loading branch information
Gary Kotton committed Mar 8, 2013
1 parent ea36f51 commit 0f38e10
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion quantum/api/extensions.py
Expand Up @@ -484,7 +484,7 @@ def _check_extension(self, extension):
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
Expand Down
2 changes: 1 addition & 1 deletion quantum/common/exceptions.py
Expand Up @@ -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")


Expand Down
2 changes: 1 addition & 1 deletion quantum/extensions/portsecurity.py
Expand Up @@ -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'
Expand Down

0 comments on commit 0f38e10

Please sign in to comment.