diff src/memory/params.py @ 1023:8bae81e254a2

core: added a getReady method which can be called by frontends to ensure that backend is fully initialised before doing anything + this ckeck is automatically done in asyncConnect
author Goffi <goffi@goffi.org>
date Thu, 15 May 2014 16:02:16 +0200
parents 6a16ec17a458
children 15f43b54d697
line wrap: on
line diff
--- a/src/memory/params.py	Wed May 14 13:26:23 2014 +0200
+++ b/src/memory/params.py	Thu May 15 16:02:16 2014 +0200
@@ -187,7 +187,7 @@
         elif return_profile_keys and profile_key in ["@ALL@"]:
             return profile_key # this value must be managed by the caller
         if not self.storage.hasProfile(profile_key):
-            log.info(_('Trying to access an unknown profile'))
+            log.error(_('Trying to access an unknown profile'))
             return "" # FIXME: raise exceptions.ProfileUnknownError here (must be well checked, this method is used in lot of places)
         return profile_key