From cf5b8ba2710f69409e8d5924646214605c85c1ba Mon Sep 17 00:00:00 2001 From: Mathieu Mitchell Date: Tue, 1 Aug 2017 14:18:49 -0400 Subject: [PATCH] Fix typos in inline docs Change-Id: I7ed499095c0e6920ad614a32a351b7323acbf400 --- charms_openstack/adapters.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/charms_openstack/adapters.py b/charms_openstack/adapters.py index 5412d89..017e500 100644 --- a/charms_openstack/adapters.py +++ b/charms_openstack/adapters.py @@ -484,14 +484,14 @@ class ConfigurationAdapter(object): class APIConfigurationAdapter(ConfigurationAdapter): """This configuration adapter extends the base class and adds properties - common accross most OpenstackAPI services + common across most OpenstackAPI services. """ def __init__(self, port_map=None, service_name=None, charm_instance=None): """ - Note passing port_map and service_name is deprecated, but supporte for - backwards compatibility. The port_map and service_name can be got from - the self.charm_instance weak reference. + Note passing port_map and service_name is deprecated, but supported for + backwards compatibility. The port_map and service_name can be obtained + from the self.charm_instance weak reference. :param port_map: Map containing service names and the ports used e.g. port_map = { 'svc1': { @@ -548,8 +548,8 @@ class APIConfigurationAdapter(ConfigurationAdapter): def external_ports(self): """Return ports the service will be accessed on - The self.port_map is a dictionary of dictionarys, where the ports are - two levels deep (the leaves). This returns a set() of those ports. + The self.port_map is a dictionary of dictionaries, where the ports are + two levels deep (the leaves). This returns a set() of those ports. @return set of ports service can be accessed on """