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 genpolkit.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é <berra...@redhat.com>
> ---
>  Makefile.am                |   1 +
>  scripts/genpolkit.py       | 122 +++++++++++++++++++++++++++++++++++++
>  src/access/Makefile.inc.am |   6 +-
>  src/access/genpolkit.pl    | 119 ------------------------------------
>  4 files changed, 126 insertions(+), 122 deletions(-)
>  create mode 100755 scripts/genpolkit.py
>  delete mode 100755 src/access/genpolkit.pl
> 

Generates identical org.libvirt.api.policy for me

Tested-by: Cole Robinson <crobi...@redhat.com>

- Cole

--
libvir-list mailing list
libvir-list@redhat.com
https://www.redhat.com/mailman/listinfo/libvir-list

Reply via email to