summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIsis Lovecruft <isis@torproject.org>2013-04-15 19:54:54 +0000
committerIsis Lovecruft <isis@torproject.org>2013-04-15 19:54:54 +0000
commita0cdd89a1e74f61c263bd7ee4b214d823b8e3a7c (patch)
tree06d407f17f306902811c15b612d94b81dd5c7c19
parent5048af81ffea65f9abc8d9aae451a58f97e015fd (diff)
Update ConnectedCouchDB.query() docstring.
-rw-r--r--src/leap/mx/couchdb.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/leap/mx/couchdb.py b/src/leap/mx/couchdb.py
index fb4d8f6..fe46ac6 100644
--- a/src/leap/mx/couchdb.py
+++ b/src/leap/mx/couchdb.py
@@ -89,8 +89,10 @@ class ConnectedCouchDB(client.CouchDB):
return d
def query(self, uri):
- """
- Query a CouchDB instance that we are connected to.
+ """Query a CouchDB instance that we are connected to.
+
+ :param str uri: A particular URI in the CouchDB, i.e.
+ "/users/_design/User/_view/by_email_or_alias".
"""
try:
self.checkURI(uri) ## xxx write checkURI()