[libvirt] [PATCH] check-symfile: Use pythonesque string formatting instead of perl

Michal Privoznik mprivozn at redhat.com
Mon Nov 25 15:57:18 UTC 2019


On 11/25/19 4:37 PM, Peter Krempa wrote:
> 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 at redhat.com>
> ---
>   scripts/check-symfile.py | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)

Reviewed-by: Michal Privoznik <mprivozn at redhat.com>

Michal




More information about the libvir-list mailing list