diff options
author | Kiall Mac Innes <kiall@hp.com> | 2014-02-20 16:20:58 +0000 |
---|---|---|
committer | Kiall Mac Innes <kiall@hp.com> | 2014-02-20 16:20:58 +0000 |
commit | 517ec9531a610843117ecfd05a987e8f34494eba (patch) | |
tree | 427172271832fa04a0bf064be9609a8bec8d2b42 | |
parent | 86634f51226880b04149d5ed188587ad05cb8bae (diff) | |
download | designate-517ec9531a610843117ecfd05a987e8f34494eba.tar.gz |
Correct misspelled words
Change-Id: I7f98cd32ecd64e49d2fd7376ce5f4b6df9fe6ff9
Closes-Bug: 1257295
-rw-r--r-- | contrib/zoneextractor.py | 8 | ||||
-rw-r--r-- | designate/exceptions.py | 2 | ||||
-rw-r--r-- | designate/notification_handler/neutron.py | 4 | ||||
-rw-r--r-- | designate/notification_handler/nova.py | 4 | ||||
-rw-r--r-- | designate/tests/test_api/test_v1/test_domains.py | 4 | ||||
-rw-r--r-- | designate/tests/test_quota/test_storage.py | 4 | ||||
-rw-r--r-- | doc/source/production-architecture.rst | 2 |
7 files changed, 14 insertions, 14 deletions
diff --git a/contrib/zoneextractor.py b/contrib/zoneextractor.py index 45404c44..c24648d7 100644 --- a/contrib/zoneextractor.py +++ b/contrib/zoneextractor.py @@ -69,7 +69,7 @@ class Extractor: " # Open quote (?P<file> [^"]+ ) # The included file (without quotes), as group 'file' " # Close quote - \s* ; # Semicolon, possibly preceeded by whitespace + \s* ; # Semicolon, possibly preceded by whitespace """, re.MULTILINE | re.VERBOSE) _zone_regex = re.compile( @@ -84,14 +84,14 @@ class Extractor: (?P<content> [^{}]+ ) # The contents of the zone block (without # brackets) as group 'content' } # Close bracket - \s* ; # Semicolon, possibly preceeded by whitespace + \s* ; # Semicolon, possibly preceded by whitespace """, re.MULTILINE | re.VERBOSE) _type_master_regex = re.compile( r""" type \s+ # The type keyword, followed by some whitespace master # The master keyword - \s* ; # Semicolon, possibly preceeded by whitespace + \s* ; # Semicolon, possibly preceded by whitespace """, re.MULTILINE | re.VERBOSE) _zonefile_regex = re.compile(r""" @@ -99,7 +99,7 @@ class Extractor: " # Open quote (?P<file> [^"]+ ) # The zonefile (without quotes), as group 'file' " # Close quote - \s* ; # Semicolor, possible preceeded by whitespace + \s* ; # Semicolor, possible preceded by whitespace """, re.MULTILINE | re.VERBOSE) def __init__(self, conf_file): diff --git a/designate/exceptions.py b/designate/exceptions.py index 7d800c13..6e8169a9 100644 --- a/designate/exceptions.py +++ b/designate/exceptions.py @@ -53,7 +53,7 @@ class CommunicationFailure(Base): class NeutronCommunicationFailure(CommunicationFailure): """ - Raised in case one of the alledged Neutron endpoints fails. + Raised in case one of the alleged Neutron endpoints fails. """ error_type = 'neutron_communication_failure' diff --git a/designate/notification_handler/neutron.py b/designate/notification_handler/neutron.py index 336e23d9..9dbc4c6a 100644 --- a/designate/notification_handler/neutron.py +++ b/designate/notification_handler/neutron.py @@ -51,13 +51,13 @@ class NeutronFloatingHandler(BaseAddressHandler): ] def process_notification(self, event_type, payload): - LOG.debug('%s recieved notification - %s', + LOG.debug('%s received notification - %s', self.get_canonical_name(), event_type) # FIXME: Neutron doesn't send ipv in the payload, should maybe # determine this? if event_type not in self.get_event_types(): - msg = '%s recieved an invalid event type %s' % ( + msg = '%s received an invalid event type %s' % ( self, event_type) raise ValueError(msg) diff --git a/designate/notification_handler/nova.py b/designate/notification_handler/nova.py index 94fb5b2d..a671c6b5 100644 --- a/designate/notification_handler/nova.py +++ b/designate/notification_handler/nova.py @@ -51,7 +51,7 @@ class NovaFixedHandler(BaseAddressHandler): ] def process_notification(self, event_type, payload): - LOG.debug('NovaFixedHandler recieved notification - %s' % event_type) + LOG.debug('NovaFixedHandler received notification - %s' % event_type) if event_type == 'compute.instance.create.end': self._create(payload['fixed_ips'], payload, @@ -62,4 +62,4 @@ class NovaFixedHandler(BaseAddressHandler): self._delete(resource_id=payload['instance_id'], resource_type='instance') else: - raise ValueError('NovaFixedHandler recieved an invalid event type') + raise ValueError('NovaFixedHandler received an invalid event type') diff --git a/designate/tests/test_api/test_v1/test_domains.py b/designate/tests/test_api/test_v1/test_domains.py index 2a2dcdf6..756f26e2 100644 --- a/designate/tests/test_api/test_v1/test_domains.py +++ b/designate/tests/test_api/test_v1/test_domains.py @@ -101,10 +101,10 @@ class ApiV1DomainsTest(ApiV1Test): # Create a domain fixture = self.get_domain_fixture(0) - #Give it a UTF-8 filled description + # Give it a UTF-8 filled description fixture['description'] = "utf-8:2H₂+O₂⇌2H₂O,R=4.7kΩ,⌀200mm∮E⋅da=Q,n" \ ",∑f(i)=∏g(i),∀x∈ℝ:⌈x⌉" - #Create the domain, ensuring it suceeds, thus UTF-8 is supported + # Create the domain, ensuring it succeeds, thus UTF-8 is supported self.post('domains', data=fixture) def test_create_domain_description_too_long(self): diff --git a/designate/tests/test_quota/test_storage.py b/designate/tests/test_quota/test_storage.py index 3dd3f478..a4c5d76a 100644 --- a/designate/tests/test_quota/test_storage.py +++ b/designate/tests/test_quota/test_storage.py @@ -35,7 +35,7 @@ class StorageQuotaTest(tests.TestCase): self.assertEqual(quota, {'domains': 1500}) # Drop into the storage layer directly to ensure the quota was created - # sucessfully. + # successfully criterion = { 'tenant_id': 'tenant_id', 'resource': 'domains' @@ -58,7 +58,7 @@ class StorageQuotaTest(tests.TestCase): self.quota.set_quota(context, 'tenant_id', 'domains', 1234) # Drop into the storage layer directly to ensure the quota was updated - # sucessfully + # successfully criterion = { 'tenant_id': 'tenant_id', 'resource': 'domains' diff --git a/doc/source/production-architecture.rst b/doc/source/production-architecture.rst index 54ea3574..74254d61 100644 --- a/doc/source/production-architecture.rst +++ b/doc/source/production-architecture.rst @@ -60,7 +60,7 @@ DNS Backend ~~~~~~~~~~~ Designate supports multiple backend implementations, PowerDNS, BIND and MySQL BIND, you are also free to implement your own backend to fit your needs, as well as extensions to provide extra functionality to complement existing backends. -There are various ways to provide a highly available authorative DNS service, here are some suggestions: +There are various ways to provide a highly available authoritative DNS service, here are some suggestions: * Multiple PowerDNS instances using the same database being maintained by :ref:`designate-central`, optionally using MySQL Replication to propagate the data to multiple locations. * DNS AXFR (Zone Transfer) multiple slave DNS server get notified of zone updates from a DNS server being managed by :ref:`designate-central`. |