[Freeipa-devel] [PATCH 75] log dogtag errors
John Dennis
jdennis at redhat.com
Thu Oct 18 17:20:28 UTC 2012
On 10/18/2012 05:06 AM, Petr Viktorin wrote:
> This looks much better. I found one more issue, though.
>
>> + if detail is not None:
>> + err_msg += ' (%s)' % detail
>
> Here I get TypeError: unsupported operand type(s) for +=: 'Gettext' and
> 'unicode'.
> Until our Gettext class supports addition (part of #3188), please use
> `err_msg = u'%s (%s)' % (err_msg, detail)` instead.
Good catch, fixed. New patch attached.
--
John Dennis <jdennis at redhat.com>
Looking to carve out IT costs?
www.redhat.com/carveoutcosts/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeipa-jdennis-0075-2-log-dogtag-errors.patch
Type: text/x-patch
Size: 7730 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/freeipa-devel/attachments/20121018/e9fdbd7f/attachment.bin>
More information about the Freeipa-devel
mailing list