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

Lucio Correia luciojhc at linux.vnet.ibm.com
Wed Aug 31 21:06:32 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 2923d7c..7a95907 100644
--- a/src/wok/reqlogger.py
+++ b/src/wok/reqlogger.py
@@ -129,7 +129,7 @@ class RequestParser(object):
             code = error.get('code', '')
             params = error.get('params', {})
             msg = WokMessage(code, params, 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