memory: fixed wrong information in the docstrings for security_limit
This commit is contained in:
parent
4a0d8be8ec
commit
409bbccebe
2 changed files with 5 additions and 5 deletions
|
|
@ -1,7 +1,7 @@
|
|||
[DEFAULT]
|
||||
doc_profile=profile: Name of the profile.
|
||||
doc_profile_key=profile_key: Profile key which can be either a magic (eg: @DEFAULT@) or the name of an existing profile.
|
||||
doc_security_limit=security_limit: -1 means no security then the higher the most secure
|
||||
doc_security_limit=security_limit: -1 means no security, 0 is the maximum security then the higher the less secure
|
||||
|
||||
;signals
|
||||
|
||||
|
|
|
|||
|
|
@ -298,9 +298,9 @@ class Params(object):
|
|||
def updateParams(self, xml, security_limit=NO_SECURITY_LIMIT, app=''):
|
||||
"""import xml in parameters, do nothing if the param already exist
|
||||
If security_limit is specified and greater than -1, the parameters
|
||||
that have a security level lower than security_limit are skipped.
|
||||
that have a security level greater than security_limit are skipped.
|
||||
@param xml: parameters in xml form
|
||||
@param security_limit: -1 means no security then the higher the most secure
|
||||
@param security_limit: -1 means no security, 0 is the maximum security then the higher the less secure
|
||||
@param app: name of the frontend registering the parameters or empty value
|
||||
"""
|
||||
src_parent = minidom.parseString(xml.encode('utf-8')).documentElement
|
||||
|
|
@ -352,9 +352,9 @@ class Params(object):
|
|||
def paramsRegisterApp(self, xml, security_limit, app):
|
||||
"""Register frontend's specific parameters
|
||||
If security_limit is specified and greater than -1, the parameters
|
||||
that have a security level lower than security_limit are skipped.
|
||||
that have a security level greater than security_limit are skipped.
|
||||
@param xml: XML definition of the parameters to be added
|
||||
@param security_limit: -1 means no security then the higher the most secure
|
||||
@param security_limit: -1 means no security, 0 is the maximum security then the higher the less secure
|
||||
@param app: name of the frontend registering the parameters
|
||||
"""
|
||||
if not app:
|
||||
|
|
|
|||
Loading…
Reference in a new issue