Merge "Fixes typos in the files in the nova folder"

This commit is contained in:
Jenkins 2013-10-14 09:34:14 +00:00 committed by Gerrit Code Review
commit e85a00f2a4
3 changed files with 6 additions and 6 deletions

View File

@ -663,7 +663,7 @@ class FloatingIpExists(NovaException):
class FloatingIpNotFound(NotFound):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Floating ip not found for id %(id)s.")
@ -694,7 +694,7 @@ class NoMoreFloatingIps(FloatingIpNotFound):
class FloatingIpAssociated(NovaException):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Floating ip %(address)s is associated.")
@ -707,12 +707,12 @@ class NoFloatingIpsDefined(NotFound):
class NoFloatingIpInterface(NotFound):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Interface %(interface)s not found.")
class CannotDisassociateAutoAssignedFloatingIP(NovaException):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Cannot disassociate auto assigned floating ip")

View File

@ -35,7 +35,7 @@ class BaseFilter(object):
def filter_all(self, filter_obj_list, filter_properties):
"""Yield objects that pass the filter.
Can be overriden in a subclass, if you need to base filtering
Can be overridden in a subclass, if you need to base filtering
decisions on all objects. Otherwise, one can just override
_filter_one() to filter a single object.
"""

View File

@ -34,7 +34,7 @@ class BaseWeigher(object):
"""Base class for pluggable weighers."""
def _weight_multiplier(self):
"""How weighted this weigher should be. Normally this would
be overriden in a subclass based on a config value.
be overridden in a subclass based on a config value.
"""
return 1.0