summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormelissaml <ma.lei@99cloud.net>2018-12-22 03:39:51 +0800
committermelissaml <ma.lei@99cloud.net>2018-12-22 03:58:19 +0800
commite625b1a8814ac2b9a5321e3ea994624999397f7f (patch)
treeccba33e2deb6eea8f99c678821561240919cdf99
parent132f1b98ce318e856907acdd983debd882cea3c1 (diff)
fix typos in the docstringHEADmaster
Notes
Notes (review): Code-Review+2: Frode Nordahl <frode.nordahl@canonical.com> Workflow+1: Frode Nordahl <frode.nordahl@canonical.com> Verified+2: Zuul Submitted-by: Zuul Submitted-at: Wed, 09 Jan 2019 09:38:29 +0000 Reviewed-on: https://review.openstack.org/626990 Project: openstack/charm-odl-controller Branch: refs/heads/master
-rw-r--r--hooks/charmhelpers/contrib/openstack/context.py2
-rw-r--r--hooks/charmhelpers/fetch/archiveurl.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/hooks/charmhelpers/contrib/openstack/context.py b/hooks/charmhelpers/contrib/openstack/context.py
index f3741b0..4e38467 100644
--- a/hooks/charmhelpers/contrib/openstack/context.py
+++ b/hooks/charmhelpers/contrib/openstack/context.py
@@ -1207,7 +1207,7 @@ class SubordinateConfigContext(OSContextGenerator):
1207 1207
1208 The subordinate interface allows subordinates to export their 1208 The subordinate interface allows subordinates to export their
1209 configuration requirements to the principle for multiple config 1209 configuration requirements to the principle for multiple config
1210 files and multiple serivces. Ie, a subordinate that has interfaces 1210 files and multiple services. Ie, a subordinate that has interfaces
1211 to both glance and nova may export to following yaml blob as json:: 1211 to both glance and nova may export to following yaml blob as json::
1212 1212
1213 glance: 1213 glance:
diff --git a/hooks/charmhelpers/fetch/archiveurl.py b/hooks/charmhelpers/fetch/archiveurl.py
index dd24f9e..d25587a 100644
--- a/hooks/charmhelpers/fetch/archiveurl.py
+++ b/hooks/charmhelpers/fetch/archiveurl.py
@@ -89,7 +89,7 @@ class ArchiveUrlFetchHandler(BaseFetchHandler):
89 :param str source: URL pointing to an archive file. 89 :param str source: URL pointing to an archive file.
90 :param str dest: Local path location to download archive file to. 90 :param str dest: Local path location to download archive file to.
91 """ 91 """
92 # propogate all exceptions 92 # propagate all exceptions
93 # URLError, OSError, etc 93 # URLError, OSError, etc
94 proto, netloc, path, params, query, fragment = urlparse(source) 94 proto, netloc, path, params, query, fragment = urlparse(source)
95 if proto in ('http', 'https'): 95 if proto in ('http', 'https'):