On 11/11/19 9:38 AM, Daniel P. Berrangé wrote: > As part of an goal to eliminate Perl from libvirt build tools, > rewrite the hvsupport.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. > > The new impl generates byte-for-byte identical output to the > old impl. > > Signed-off-by: Daniel P. Berrangé <berrange@xxxxxxxxxx> > --- > Makefile.am | 1 + > docs/Makefile.am | 7 +- > docs/hvsupport.pl | 459 --------------------------------------- > scripts/hvsupport.py | 504 +++++++++++++++++++++++++++++++++++++++++++ > 4 files changed, 508 insertions(+), 463 deletions(-) > delete mode 100755 docs/hvsupport.pl > create mode 100755 scripts/hvsupport.py > Generates identical output to the perl script (modulo expected timestamp change) Tested-by: Cole Robinson <crobinso@xxxxxxxxxx> - Cole -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list