Fix typos in comments

paramater => parameter
accross => across
targetted => targeted
sucessful => successful

Change-Id: I8319d713946317de3e6e385034ffffcc83e1b3a8
This commit is contained in:
Takashi NATSUME 2015-09-03 18:31:33 +09:00
parent dbd58dfe00
commit 8b9d948f7a
6 changed files with 7 additions and 7 deletions

View File

@ -123,7 +123,7 @@ def factory(global_config, **local_conf):
class UUIDConverter(BaseConverter): class UUIDConverter(BaseConverter):
"""Validates UUID URL paramaters""" """Validates UUID URL parameters"""
def to_python(self, value): def to_python(self, value):
if not utils.is_uuid_like(value): if not utils.is_uuid_like(value):

View File

@ -45,7 +45,7 @@ class Backend(DriverPlugin):
self.host = self.options.get('host', '127.0.0.1') self.host = self.options.get('host', '127.0.0.1')
self.port = int(self.options.get('port', 53)) self.port = int(self.options.get('port', 53))
# TODO(kiall): Context's should never be shared accross requests. # TODO(kiall): Context's should never be shared across requests.
self.admin_context = DesignateContext.get_admin_context() self.admin_context = DesignateContext.get_admin_context()
self.admin_context.all_tenants = True self.admin_context.all_tenants = True

View File

@ -50,7 +50,7 @@ class Bind9Backend(base.Backend):
port = master['port'] port = master['port']
masters.append('%s port %s' % (host, port)) masters.append('%s port %s' % (host, port))
# Ensure different MiniDNS instances are targetted for AXFRs # Ensure different MiniDNS instances are targeted for AXFRs
random.shuffle(masters) random.shuffle(masters)
rndc_op = [ rndc_op = [

View File

@ -83,7 +83,7 @@ class NSD4Backend(base.Backend):
port = master['port'] port = master['port']
masters.append('%s port %s' % (host, port)) masters.append('%s port %s' % (host, port))
# Ensure different MiniDNS instances are targetted for AXFRs # Ensure different MiniDNS instances are targeted for AXFRs
random.shuffle(masters) random.shuffle(masters)
command = 'addzone %s %s' % (domain['name'], self.pattern) command = 'addzone %s %s' % (domain['name'], self.pattern)

View File

@ -17,7 +17,7 @@ import re
import pep8 import pep8
# D701: Default paramater value is a mutable type # D701: Default parameter value is a mutable type
# D702: Log messages require translation # D702: Log messages require translation
# D703: Found use of _() without explicit import of _! # D703: Found use of _() without explicit import of _!
# D704: Found import of %s. This oslo library has been graduated! # D704: Found import of %s. This oslo library has been graduated!
@ -53,7 +53,7 @@ def mutable_default_arguments(logical_line, physical_line, filename):
return return
if mutable_default_argument_check.match(logical_line): if mutable_default_argument_check.match(logical_line):
yield (0, "D701: Default paramater value is a mutable type") yield (0, "D701: Default parameter value is a mutable type")
def validate_log_translations(logical_line, physical_line, filename): def validate_log_translations(logical_line, physical_line, filename):

View File

@ -396,7 +396,7 @@ class Service(service.RPCService, coordination.CoordinationMixin,
# TODO(kiall): We should monitor that the Domain is actually deleted # TODO(kiall): We should monitor that the Domain is actually deleted
# correctly on each of the nameservers, rather than # correctly on each of the nameservers, rather than
# assuming a sucessful delete-on-target is OK as we have # assuming a successful delete-on-target is OK as we have
# in the past. # in the past.
if self._exceed_or_meet_threshold( if self._exceed_or_meet_threshold(
results.count(True), MAXIMUM_THRESHOLD): results.count(True), MAXIMUM_THRESHOLD):