diff src/memory/params.py @ 1044:85c110c0be86

plugins misc_account, misc_register_account: manually delete the sessions when not needed anymore
author souliane <souliane@mailoo.org>
date Wed, 21 May 2014 23:17:51 +0200
parents 59de0c7a28ec
children de415d7984f7
line wrap: on
line diff
--- a/src/memory/params.py	Wed May 21 23:15:01 2014 +0200
+++ b/src/memory/params.py	Wed May 21 23:17:51 2014 +0200
@@ -191,7 +191,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.error(_('Trying to access an unknown profile'))
+            log.error(_('Trying to access an unknown profile (%s)') % profile_key)
             return "" # FIXME: raise exceptions.ProfileUnknownError here (must be well checked, this method is used in lot of places)
         return profile_key