Mercurial > libervia-backend
diff tools/memory.py @ 182:556c2bd7c344
Primitivus now implement showDialog + new "newAlert" bridge method to show a dialog from core
author | Goffi <goffi@goffi.org> |
---|---|
date | Wed, 18 Aug 2010 12:45:48 +0800 |
parents | b318d2b58887 |
children | 9ee4a1d0d7fb |
line wrap: on
line diff
--- a/tools/memory.py Mon Aug 16 21:59:52 2010 +0800 +++ b/tools/memory.py Wed Aug 18 12:45:48 2010 +0800 @@ -109,7 +109,7 @@ debug("Parameters init") self.host = host self.default_profile = None - self.params = {'goffi':{}} #gof: + self.params = {} self.params_gen = {} host.set_const('savefile_param_xml', SAVEFILE_PARAM_XML) host.set_const('savefile_param_data', SAVEFILE_PARAM_DATA) @@ -150,7 +150,7 @@ info(_('No default profile, returning first one')) #TODO: manage real default profile default = self.params.keys()[0] self.host.memory.setPrivate('Profile_default', default) - return default #FIXME: gof: temporary, must use real default value, and fallback to first one if it doesn't exists + return default #FIXME: temporary, must use real default value, and fallback to first one if it doesn't exists if not self.params.has_key(profile_key): info (_('Trying to access an unknown profile')) return ""