comparison src/memory/memory.py @ 1519:fbe86b5d156f

core (memory, params): minor docstrings updates
author Goffi <goffi@goffi.org>
date Fri, 25 Sep 2015 19:19:12 +0200
parents c2a498dce4b4
children a5e0393a06cd
comparison
equal deleted inserted replaced
1518:8c071bc359c9 1519:fbe86b5d156f
354 return self.storage.getProfilesList() 354 return self.storage.getProfilesList()
355 355
356 def getProfileName(self, profile_key, return_profile_keys=False): 356 def getProfileName(self, profile_key, return_profile_keys=False):
357 """Return name of profile from keyword 357 """Return name of profile from keyword
358 358
359 @param profile_key: can be the profile name or a keywork (like @DEFAULT@) 359 @param profile_key: can be the profile name or a keyword (like @DEFAULT@)
360 @param return_profile_keys: if True, return unmanaged profile keys (like "@ALL@"). This keys must be managed by the caller 360 @param return_profile_keys: if True, return unmanaged profile keys (like "@ALL@"). This keys must be managed by the caller
361 @return: requested profile name or emptry string if it doesn't exist 361 @return: requested profile name
362 @raise exceptions.ProfileUnknownError if profile doesn't exists 362 @raise exceptions.ProfileUnknownError if profile doesn't exists
363 """ 363 """
364 return self.params.getProfileName(profile_key, return_profile_keys) 364 return self.params.getProfileName(profile_key, return_profile_keys)
365 365
366 def asyncCreateProfile(self, name, password=''): 366 def asyncCreateProfile(self, name, password=''):