list allowed values for ldap protocol setting in help, so that the generated file includes this in a comment stable
authorAlexandre Fayolle <alexandre.fayolle@logilab.fr>
Fri, 02 Apr 2010 13:48:16 +0200
branchstable
changeset 5138 18388a897d2a
parent 5135 f15286235aef
child 5139 61b607c8571b
list allowed values for ldap protocol setting in help, so that the generated file includes this in a comment
server/sources/ldapuser.py
--- a/server/sources/ldapuser.py	Fri Apr 02 09:56:40 2010 +0200
+++ b/server/sources/ldapuser.py	Fri Apr 02 13:48:16 2010 +0200
@@ -64,7 +64,7 @@
          {'type' : 'choice',
           'default': 'ldap',
           'choices': ('ldap', 'ldaps', 'ldapi'),
-          'help': 'ldap protocol',
+          'help': 'ldap protocol (allowed values: ldap, ldaps, ldapi)',
           'group': 'ldap-source', 'inputlevel': 1,
           }),