fixed potential problem with unwanted translation of log messages
This commit is contained in:
@@ -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
|
||||||
|
|||||||
+1
-2
@@ -175,10 +175,9 @@ class Messages(Settings):
|
|||||||
def __getattr__(self, key):
|
def __getattr__(self, key):
|
||||||
value = self[key]
|
value = self[key]
|
||||||
if isinstance(value, str):
|
if isinstance(value, str):
|
||||||
return str(self.T(value))
|
return self.T(value)
|
||||||
return value
|
return value
|
||||||
|
|
||||||
|
|
||||||
class FastStorage(dict):
|
class FastStorage(dict):
|
||||||
"""
|
"""
|
||||||
Eventually this should replace class Storage but causes memory leak
|
Eventually this should replace class Storage but causes memory leak
|
||||||
|
|||||||
Reference in New Issue
Block a user