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

Lucio Correia luciojhc at linux.vnet.ibm.com
Thu Sep 1 16:16:40 UTC 2016


On 01-09-2016 11:10, Aline Manera wrote:
>
> Merge this patch with the other one where you edit the reqlogger.py
OK


>
> 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
>>
>

-- 
Lucio Correia
Software Engineer
IBM LTC Brazil




More information about the Kimchi-devel mailing list