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 genaclperms.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.
Signed-off-by: Daniel P. Berrangé <berrange(a)redhat.com>
---
Makefile.am | 1 +
docs/Makefile.am | 6 +-
docs/genaclperms.pl | 125 -----------------------------------------
scripts/genaclperms.py | 123 ++++++++++++++++++++++++++++++++++++++++
4 files changed, 127 insertions(+), 128 deletions(-)
delete mode 100755 docs/genaclperms.pl
create mode 100755 scripts/genaclperms.py
The new script fixes indentation, but otherwise seems to generate
identical aclperms.htmlinc
Tested-by: Cole Robinson <crobinso(a)redhat.com>
- Cole