Using braces in format strings without specifying a number (e.g. "The 
number {} is incorrect".format(some_variable)) is available since Python 
2.7, and older Python 2.6 required a number, zero-based (e.g. "The number 
{0} is incorrect"). 

This patch adds these numbers for the sake of older systems. 



Amit Margalit
IBM XIV - Storage Reinvented
XIV-NAS Development Team
Tel. 03-689-7774
Fax. 03-689-7230

Attachment: 0002-Fixed-use-of-braces-in-format-strings-to-allow-use-w.patch
Description: Binary data

_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Reply via email to