summaryrefslogtreecommitdiffstats
path: root/keystone/catalog
diff options
context:
space:
mode:
authorDolph Mathews <dolph.mathews@gmail.com>2013-05-24 11:36:44 -0500
committerDolph Mathews <dolph.mathews@gmail.com>2013-05-24 13:29:58 -0500
commitaf4e96986f6ee45e9e4ccac0b143902362a1a676 (patch)
tree0252ac8e716b8823bd9cb09e0014e5c36683a8ae /keystone/catalog
parentb85dec3175c85cc64c4dd1661e6399a6ec706d21 (diff)
downloadkeystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.gz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.tar.xz
keystone-af4e96986f6ee45e9e4ccac0b143902362a1a676.zip
Cleanup docstrings (flake8 H401, H402, H403, H404)
- docstring should not start with a space (flake8 H401) - one line docstring needs punctuation (flake8 H402) - multi line docstring end on new line (flake8 H403) - multi line docstring should start with a summary (flake8 H404) Change-Id: I69b414395930bda739aa01b785ac619fa8bb7d9b
Diffstat (limited to 'keystone/catalog')
-rw-r--r--keystone/catalog/core.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/keystone/catalog/core.py b/keystone/catalog/core.py
index 5ce3c38c..df9e3514 100644
--- a/keystone/catalog/core.py
+++ b/keystone/catalog/core.py
@@ -29,7 +29,7 @@ LOG = logging.getLogger(__name__)
def format_url(url, data):
- """Helper Method for all Backend Catalog's to Deal with URLS"""
+ """Safely string formats a user-defined URL with the given data."""
try:
result = url.replace('$(', '%(') % data
except AttributeError: