From b4fe6720aea6a674ccc971a074bb71cb433ef901 Mon Sep 17 00:00:00 2001 From: mdipierro Date: Mon, 8 Jul 2013 08:39:43 -0500 Subject: [PATCH] fixed potential problem with unwanted translation of log messages --- VERSION | 2 +- gluon/storage.py | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index ee21118e..7f9c8933 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 2.6.0-development+timestamp.2013.07.08.01.37.54 +Version 2.6.0-development+timestamp.2013.07.08.08.38.58 diff --git a/gluon/storage.py b/gluon/storage.py index 3fd4bc1a..10811e60 100644 --- a/gluon/storage.py +++ b/gluon/storage.py @@ -175,10 +175,9 @@ class Messages(Settings): def __getattr__(self, key): value = self[key] if isinstance(value, str): - return str(self.T(value)) + return self.T(value) return value - class FastStorage(dict): """ Eventually this should replace class Storage but causes memory leak