From: Amit Margalit Date: Tue, 20 Aug 2013 06:30:38 +0000 (+0300) Subject: Fix (python): use of braces in format strings X-Git-Tag: v1.2.0-rc1~72 X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=commitdiff_plain;h=288209fbdd2f5841f731274b940a0948ea742a9b;hp=288209fbdd2f5841f731274b940a0948ea742a9b Fix (python): use of braces in format strings 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. Acked-by: Jérémie Galarneau Signed-off-by: Amit Margalit Signed-off-by: Mathieu Desnoyers ---