[Sugar-devel] [PATCH] Workaround to Python 2.7 regression in locale.format(): it disallows trailing text after the format specifier.

Simon Schampijer simon at schampijer.de
Fri Nov 26 10:06:54 EST 2010


Thanks Walter for this patch.

By reading here: 
http://www.gossamer-threads.com/lists/python/bugs/875810 and 
https://bugs.launchpad.net/update-manager/+bug/673297 you should just 
use locale.format_string(). This is as well backwards compatible (works 
in 2.6).

With this change, good by me.

Regards,
    Simon

Acked-by: Simon Schampijer <simon at schampijer.de>


More information about the Sugar-devel mailing list