]> git.ipfire.org Git - thirdparty/libvirt.git/commit
build-aux: rewrite duplicate header checker in Python
authorDaniel P. Berrangé <berrange@redhat.com>
Fri, 30 Aug 2019 12:22:54 +0000 (13:22 +0100)
committerDaniel P. Berrangé <berrange@redhat.com>
Mon, 18 Nov 2019 17:24:31 +0000 (17:24 +0000)
commit7909359d600bc079a9de8d586c377076c332a147
tree6fe520ea70bffc0fad5f9c75fad2ffdb000b8983
parent2816fe2e846ab3bd2bfbef123c426a17f1e1df98
build-aux: rewrite duplicate header checker in Python

As part of an goal to eliminate Perl from libvirt build tools,
rewrite the prohibit-duplicate-header.pl tool in Python.

This was a straight conversion, manually going line-by-line to
change the syntax from Perl to Python. Thus the overall structure
of the file and approach is the same.

Reviewed-by: Ján Tomko <jtomko@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Makefile.am
build-aux/prohibit-duplicate-header.pl [deleted file]
build-aux/syntax-check.mk
scripts/prohibit-duplicate-header.py [new file with mode: 0644]