comparison src/memory/params.py @ 1651:5c1d6efd6936

core: fixed getStringParamA
author Goffi <goffi@goffi.org>
date Mon, 23 Nov 2015 17:50:23 +0100
parents 31b96ac3eec2
children 1ed269c5f295
comparison
equal deleted inserted replaced
1650:b08b828a87c9 1651:5c1d6efd6936
441 return str(result) 441 return str(result)
442 return result 442 return result
443 443
444 def getStringParamA(self, name, category, attr="value", profile_key=C.PROF_KEY_NONE): 444 def getStringParamA(self, name, category, attr="value", profile_key=C.PROF_KEY_NONE):
445 """ Same as getParamA but for bridge: convert non string value to string """ 445 """ Same as getParamA but for bridge: convert non string value to string """
446 return self.__type_to_string(self.getParamA(name, category, attr, profile_key)) 446 return self.__type_to_string(self.getParamA(name, category, attr, profile_key=profile_key))
447 447
448 def getParamA(self, name, category, attr="value", use_default=True, profile_key=C.PROF_KEY_NONE): 448 def getParamA(self, name, category, attr="value", use_default=True, profile_key=C.PROF_KEY_NONE):
449 """Helper method to get a specific attribute. 449 """Helper method to get a specific attribute.
450 450
451 /!\ This method would return encrypted password values, 451 /!\ This method would return encrypted password values,