summaryrefslogtreecommitdiff
path: root/pygerrit/__init__.py
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@sonymobile.com>2013-08-02 17:50:28 +0900
committerDavid Pursehouse <david.pursehouse@sonymobile.com>2013-08-04 14:27:50 +0900
commit3bcab572e30115ab42e5b96e6054f9b60b44a75c (patch)
tree10382541c8896a36a26cbc036453fc861d90b79b /pygerrit/__init__.py
parentc79860036c63f06ab30a7560a8e1d3ea186d508e (diff)
downloadpygerrit-3bcab572e30115ab42e5b96e6054f9b60b44a75c.tar.gz
Add missing docstrings to conform to PEP-257
Change-Id: If06f1ea17740a796142db63e7086f80445f4c6e1
Diffstat (limited to 'pygerrit/__init__.py')
-rw-r--r--pygerrit/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/pygerrit/__init__.py b/pygerrit/__init__.py
index 93e6412..5fa98be 100644
--- a/pygerrit/__init__.py
+++ b/pygerrit/__init__.py
@@ -40,9 +40,9 @@ def from_json(json_data, key):
def escape_string(string):
""" Escape a string for use in Gerrit commands.
- Adds necessary escapes and surrounding double quotes to a
- string so that it can be passed to any of the Gerrit commands
- that require double-quoted strings.
+ Return the string with necessary escapes and surrounding double quotes
+ so that it can be passed to any of the Gerrit commands that require
+ double-quoted strings.
"""