kumquat-buildroot/support/scripts
Thomas Petazzoni 62fa5e17cb support/scripts/check-uniq-files: add indices in format string
Using {} in format strings is only supported in sufficiently recent
Python versions. Python 2.6 doesn't support this, and only format
strings with numbered arguments: {0}, {1}, etc.

Python 2.7:

$ python -c 'print("foo {}".format(12))'
foo 12
$ python -c 'print("foo {0}".format(12))'
foo 12

Python 2.6:

$ python -c 'print("foo {}".format(12))'
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ValueError: zero length field name in format
$ python -c 'print("foo {0}".format(12))'
foo 12

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-03-03 17:17:41 +01:00
..
apply-patches.sh
br2-external
brpkgutil.py
check-bin-arch check-bin-arch: skip /lib/modules to allow 32-bit userland on 64-bit arch 2018-02-25 23:16:05 +01:00
check-host-rpath
check-kernel-headers.sh
check-uniq-files support/scripts/check-uniq-files: add indices in format string 2018-03-03 17:17:41 +01:00
eclipse-register-toolchain
expunge-gconv-modules
fix-configure-powerpc64.sh
fix-rpath
genimage.sh
graph-build-time graph-build-time: fix code style 2018-01-29 23:14:24 +01:00
graph-depends
hardlink-or-copy
mkmakefile
mkusers
pkg-stats
pycompile.py pycompile: fix code style 2018-01-29 23:14:24 +01:00
setlocalversion
size-stats size-stats: fix code style 2018-01-29 23:14:24 +01:00
xorg-release