auth log messages are not longer translated, thanks Anthony

This commit is contained in:
mdipierro
2013-07-08 01:21:28 -05:00
parent e7565845a0
commit ec96eaef74
2 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1 +1 @@
Version 2.6.0-development+timestamp.2013.07.07.12.24.46
Version 2.6.0-development+timestamp.2013.07.08.01.20.40
+3
View File
@@ -1747,6 +1747,9 @@ class Auth(object):
else:
user_id = None # user unknown
vars = vars or {}
# log messages should not be translated
if type(descrption).__name__ == 'lazyT':
description = description.m
self.table_event().insert(
description=str(description % vars),
origin=origin, user_id=user_id)