From 5048af81ffea65f9abc8d9aae451a58f97e015fd Mon Sep 17 00:00:00 2001 From: Isis Lovecruft Date: Mon, 15 Apr 2013 19:54:14 +0000 Subject: Update ConnectedCouchDB.queryByEmailOrAlias() docstring. --- src/leap/mx/couchdb.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/src/leap/mx/couchdb.py b/src/leap/mx/couchdb.py index 9b69091..fb4d8f6 100644 --- a/src/leap/mx/couchdb.py +++ b/src/leap/mx/couchdb.py @@ -64,12 +64,11 @@ class ConnectedCouchDB(client.CouchDB): def queryByEmailOrAlias(self, alias, dbDoc="User", view="by_email_or_alias"): - """ - Check to see if a particular email or alias exists. + """Check to see if a particular email or alias exists. - @param alias: A string representing the email or alias to check. - @param dbDoc: The CouchDB document to open. - @param view: The view of the CouchDB document to use. + :param str alias: A string representing the email or alias to check. + :param str dbDoc: The CouchDB document to open. + :param str view: The view of the CouchDB document to use. """ assert isinstance(alias, str), "Email or alias queries must be string" -- cgit v1.2.3