[Erp5-report] r38866 fx.algrain - /experimental/bt5/erp5_credential/ExtensionTemplateItem/
nobody at svn.erp5.org
nobody at svn.erp5.org
Mon Oct 4 14:18:06 CEST 2010
Author: fx.algrain
Date: Mon Oct 4 14:17:59 2010
New Revision: 38866
URL: http://svn.erp5.org?rev=38866&view=rev
Log:
Set a better docstring
Modified:
experimental/bt5/erp5_credential/ExtensionTemplateItem/Credential.py
Modified: experimental/bt5/erp5_credential/ExtensionTemplateItem/Credential.py
URL: http://svn.erp5.org/experimental/bt5/erp5_credential/ExtensionTemplateItem/Credential.py?rev=38866&r1=38865&r2=38866&view=diff
==============================================================================
--- experimental/bt5/erp5_credential/ExtensionTemplateItem/Credential.py [utf8] (original)
+++ experimental/bt5/erp5_credential/ExtensionTemplateItem/Credential.py [utf8] Mon Oct 4 14:17:59 2010
@@ -45,10 +45,10 @@ def isLocalLoginAvailable(self, login):
"""
Check for login avaibility.
Use activated user enumeration plugin which are ERP5 or ZODB user manager
- Return :
- True : any user with this login
- False : a user have this login
- None : No founded PluggableAuthServiceTool with id acl_users
+ Returned Values :
+ True : Login is available
+ False : Login is already used
+ None : No founded PluggableAuthServiceTool with id 'acl_users'
"""
if not login:
return False
More information about the Erp5-report
mailing list