PyLint 2.9.5 reported the following errors:
contrib/kasp/kasp2policy.py:25:0: R0402: Use 'from ply import yacc' instead (consider-using-from-import)
contrib/kasp/kasp2policy.py:26:0: R0402: Use 'from ply import lex' instead (consider-using-from-import)
This directory is for tools and scripts related to the OpenDNSSEC KASP
("key and signature policy") format. Currently it only contains
"kasp2policy.py", a python script for converting KASP key policy
to the "dnssec.policy" format that is used by dnssec-keymgr.
This depends on PLY (python lex/yacc) and on the "isc.dnskey" module in
bin/python/isc.
Basic test:
$ python kasp2policy.py kasp.xml > policy.out
$ diff policy.out policy.good