]> git.ipfire.org Git - thirdparty/libvirt.git/commit
check-symfile: Use pythonesque string formatting instead of perl
authorPeter Krempa <pkrempa@redhat.com>
Mon, 25 Nov 2019 15:33:53 +0000 (16:33 +0100)
committerPeter Krempa <pkrempa@redhat.com>
Tue, 26 Nov 2019 09:01:35 +0000 (10:01 +0100)
commit3b9359cd44b5a97fe5d670ee33ff13c4bf297ea8
tree1745c93d43129d32c73fd459e8f6116af9860a54
parent9d6920bd7de3f92be1894790adeb689060ab25eb
check-symfile: Use pythonesque string formatting instead of perl

Commit d30a1ad0443 translated the symbol file checker from perl to
python by doing a literal translation in most cases. Unfortunately one
string formatting operation was not really translated into python
leaving users with non-helpful error:

'Symbol $1 is listed twice'

Signed-off-by: Peter Krempa <pkrempa@redhat.com>
Reviewed-by: Erik Skultety <eskultet@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
scripts/check-symfile.py