Fixes docstring typos
Fixes several docstring typos. Change-Id: I4330792c1d6945bd1ba624f8d07d43c7b791be31
This commit is contained in:
parent
9abc87af3b
commit
57c9682e1c
@ -49,7 +49,7 @@ class DomainsClientJSON(rest_client.RestClient):
|
||||
return resp, body
|
||||
|
||||
def create_domain(self, name, email, **kwargs):
|
||||
"""Createa a domain."""
|
||||
"""Creates a domain."""
|
||||
post_body = {
|
||||
"name": name,
|
||||
"email": email
|
||||
|
@ -51,7 +51,7 @@ class RecordsClientJSON(rest_client.RestClient):
|
||||
return resp, body
|
||||
|
||||
def create_record(self, domain_id, name, type, data, **kwargs):
|
||||
"""Createa a record."""
|
||||
"""Creates a record."""
|
||||
post_body = {
|
||||
"name": name,
|
||||
"type": type,
|
||||
|
@ -27,7 +27,7 @@ CONF = cfg.CONF
|
||||
|
||||
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
|
||||
adding "links" and adding/removing any other wrappers returned/received
|
||||
as part of the API call.
|
||||
|
@ -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
|
||||
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
|
||||
openstack/common folder due to dependancy issues.
|
||||
In many cases, it's not possible to immediately remove the code from the
|
||||
openstack/common folder due to dependency issues.
|
||||
"""
|
||||
# We can't modify oslo-incubator code, so ignore it here.
|
||||
if "designate/openstack/common" in filename:
|
||||
|
@ -48,7 +48,7 @@ class ContextMiddleware(Middleware):
|
||||
request
|
||||
|
||||
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):
|
||||
ctxt = context.DesignateContext.get_admin_context(all_tenants=True)
|
||||
|
@ -364,7 +364,7 @@ class PersistentObjectMixin(object):
|
||||
"""
|
||||
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']
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user