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

Aline Manera alinefm at linux.vnet.ibm.com
Thu Sep 1 14:10:17 UTC 2016


Merge this patch with the other one where you edit the reqlogger.py

On 08/31/2016 06:06 PM, Lucio Correia wrote:
> 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
>




More information about the Kimchi-devel mailing list