Fixes typos in the files in the nova folder

blueprint fix-nova-typos

Change-Id: I0971b98999381183c0c77fff1d569180606e338b
This commit is contained in:
Alex Glikson
2013-10-07 23:37:41 +02:00
parent 1ebc86f51b
commit f16f41b1f2
3 changed files with 6 additions and 6 deletions

View File

@@ -659,7 +659,7 @@ class FloatingIpExists(NovaException):
class FloatingIpNotFound(NotFound):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Floating ip not found for id %(id)s.")
@@ -690,7 +690,7 @@ class NoMoreFloatingIps(FloatingIpNotFound):
class FloatingIpAssociated(NovaException):
ec2_code = "UnsupportedOpperation"
ec2_code = "UnsupportedOperation"
msg_fmt = _("Floating ip %(address)s is associated.")
@@ -703,12 +703,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