Method stub parameters and docs for find_role didn't match implementations.

This commit is contained in:
Manuel Ebert
2013-01-28 18:57:19 -08:00
parent e3e96d546a
commit aea5b91649
+3 -3
View File
@@ -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):