From aea5b916492826dd82e353f9436c182385c7f9ef Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Mon, 28 Jan 2013 18:57:19 -0800 Subject: [PATCH] Method stub parameters and docs for find_role didn't match implementations. --- flask_security/datastore.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flask_security/datastore.py b/flask_security/datastore.py index 747740a..f5ccac4 100644 --- a/flask_security/datastore.py +++ b/flask_security/datastore.py @@ -82,11 +82,11 @@ class UserDatastore(object): return kwargs def find_user(self, **kwargs): - """Returns a user matching the provided paramters.""" + """Returns a user matching the provided parameters.""" raise NotImplementedError - def find_role(self, **kwargs): - """Returns a role matching the provided paramters.""" + def find_role(self, name): + """Returns a role matching the provided name.""" raise NotImplementedError def add_role_to_user(self, user, role):