Mercurial > libervia-backend
comparison sat/memory/params.py @ 3126:2b0f739f8a46
plugin manhole: added "C" to namespace
author | Goffi <goffi@goffi.org> |
---|---|
date | Sun, 26 Jan 2020 18:08:10 +0100 |
parents | 130f9cb6e0ab |
children | 9d0df638c8b4 |
comparison
equal
deleted
inserted
replaced
3125:c3ce8c997fdf | 3126:2b0f739f8a46 |
---|---|
216 """return profile according to profile_key | 216 """return profile according to profile_key |
217 | 217 |
218 @param profile_key: profile name or key which can be | 218 @param profile_key: profile name or key which can be |
219 C.PROF_KEY_ALL for all profiles | 219 C.PROF_KEY_ALL for all profiles |
220 C.PROF_KEY_DEFAULT for default profile | 220 C.PROF_KEY_DEFAULT for default profile |
221 @param return_profile_keys: if True, return unmanaged profile keys (like C.PROF_KEY_ALL). This keys must be managed by the caller | 221 @param return_profile_keys: if True, return unmanaged profile keys (like |
222 C.PROF_KEY_ALL). This keys must be managed by the caller | |
222 @return: requested profile name | 223 @return: requested profile name |
223 @raise exceptions.ProfileUnknownError: profile doesn't exists | 224 @raise exceptions.ProfileUnknownError: profile doesn't exists |
224 @raise exceptions.ProfileNotSetError: if C.PROF_KEY_NONE is used | 225 @raise exceptions.ProfileNotSetError: if C.PROF_KEY_NONE is used |
225 """ | 226 """ |
226 if profile_key == "@DEFAULT@": | 227 if profile_key == "@DEFAULT@": |