[Kimchi-devel] [PATCH] [Wok 5/7] Put failure details into parenthesis

Lucio Correia luciojhc at linux.vnet.ibm.com
Fri Aug 19 19:37:40 UTC 2016


Signed-off-by: Lucio Correia <luciojhc at linux.vnet.ibm.com>
---
 src/wok/reqlogger.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/wok/reqlogger.py b/src/wok/reqlogger.py
index 39d70e6..884625b 100644
--- a/src/wok/reqlogger.py
+++ b/src/wok/reqlogger.py
@@ -145,7 +145,7 @@ class RequestParser(object):
         detCode = record.get('detCode', '')
         if detCode:
             msg = WokMessage(detCode, detParams, plugin)
-            text += ' ' + msg.get_text(prepend_code=True, translate=True)
+            text += ' (%s)' % msg.get_text(prepend_code=True, translate=True)
 
         return text
 
-- 
1.9.1




More information about the Kimchi-devel mailing list