Mercurial > libervia-backend
diff src/memory/memory.py @ 778:bfafed251b40
memory: fixed wrong information in the docstrings for security_limit
author | souliane <souliane@mailoo.org> |
---|---|
date | Sat, 04 Jan 2014 21:12:49 +0100 |
parents | 5642939d254e |
children | a978c703bf57 |
line wrap: on
line diff
--- a/src/memory/memory.py Fri Dec 27 13:28:26 2013 +0100 +++ b/src/memory/memory.py Sat Jan 04 21:12:49 2014 +0100 @@ -298,9 +298,9 @@ 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 @@ 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: