# HG changeset patch # User souliane # Date 1388866369 -3600 # Node ID bfafed251b405a6b87e8b1e7cef7b810cb2841e0 # Parent 5642939d254e5890b7f69cc94a1f12452eaf7e84 memory: fixed wrong information in the docstrings for security_limit diff -r 5642939d254e -r bfafed251b40 src/bridge/bridge_constructor/bridge_template.ini --- a/src/bridge/bridge_constructor/bridge_template.ini Fri Dec 27 13:28:26 2013 +0100 +++ b/src/bridge/bridge_constructor/bridge_template.ini Sat Jan 04 21:12:49 2014 +0100 @@ -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 diff -r 5642939d254e -r bfafed251b40 src/memory/memory.py --- 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: