fixed potential problem with unwanted translation of log messages

This commit is contained in:
mdipierro
2013-07-08 08:39:43 -05:00
parent 317efea09b
commit b4fe6720ae
2 changed files with 2 additions and 3 deletions

View File

@@ -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

View File

@@ -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