Fixes docstring typos

Fixes several docstring typos.

Change-Id: I4330792c1d6945bd1ba624f8d07d43c7b791be31
This commit is contained in:
Rafael Rivero 2014-09-24 15:26:17 -07:00
parent 9abc87af3b
commit 57c9682e1c
6 changed files with 7 additions and 7 deletions

View File

@ -49,7 +49,7 @@ class DomainsClientJSON(rest_client.RestClient):
return resp, body return resp, body
def create_domain(self, name, email, **kwargs): def create_domain(self, name, email, **kwargs):
"""Createa a domain.""" """Creates a domain."""
post_body = { post_body = {
"name": name, "name": name,
"email": email "email": email

View File

@ -51,7 +51,7 @@ class RecordsClientJSON(rest_client.RestClient):
return resp, body return resp, body
def create_record(self, domain_id, name, type, data, **kwargs): def create_record(self, domain_id, name, type, data, **kwargs):
"""Createa a record.""" """Creates a record."""
post_body = { post_body = {
"name": name, "name": name,
"type": type, "type": type,

View File

@ -27,7 +27,7 @@ CONF = cfg.CONF
class BaseView(object): class BaseView(object):
""" """
The Views are responsible for coverting to/from the "intenal" and The Views are responsible for coverting to/from the "internal" and
"external" representations of collections and resources. This includes "external" representations of collections and resources. This includes
adding "links" and adding/removing any other wrappers returned/received adding "links" and adding/removing any other wrappers returned/received
as part of the API call. as part of the API call.

View File

@ -82,8 +82,8 @@ def no_import_graduated_oslo_libraries(logical_line, filename):
After a library graduates from oslo-incubator, as we make the switch, we After a library graduates from oslo-incubator, as we make the switch, we
should ensure we don't continue to use the oslo-incubator versions. should ensure we don't continue to use the oslo-incubator versions.
In many cases, it's not possible to immediatly remove the code from the In many cases, it's not possible to immediately remove the code from the
openstack/common folder due to dependancy issues. openstack/common folder due to dependency issues.
""" """
# We can't modify oslo-incubator code, so ignore it here. # We can't modify oslo-incubator code, so ignore it here.
if "designate/openstack/common" in filename: if "designate/openstack/common" in filename:

View File

@ -48,7 +48,7 @@ class ContextMiddleware(Middleware):
request request
This will be replaced with a piece of middleware which generates, from This will be replaced with a piece of middleware which generates, from
a TSIG signed request, an approperiate Request Context. a TSIG signed request, an appropriate Request Context.
""" """
def process_request(self, request): def process_request(self, request):
ctxt = context.DesignateContext.get_admin_context(all_tenants=True) ctxt = context.DesignateContext.get_admin_context(all_tenants=True)

View File

@ -364,7 +364,7 @@ class PersistentObjectMixin(object):
""" """
Mixin class for Persistent objects. Mixin class for Persistent objects.
This adds the fields that we use in common for all persisent objects. This adds the fields that we use in common for all persistent objects.
""" """
FIELDS = ['id', 'created_at', 'updated_at', 'version'] FIELDS = ['id', 'created_at', 'updated_at', 'version']