Make kasp2policy.py PyLint-clean

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)

(cherry picked from commit 4e094113)
93 jobs for !5307 with mnowak/fix-pylint-v9_11 in 10 minutes and 33 seconds (queued for 12 seconds)
latest detached
Status Job ID Name Coverage
  Precheck
passed autoreconf #1895713
amd64 linux

00:06:28

passed clang-format #1895242
amd64 linux

00:00:16

canceled coccinelle #1895243
amd64 linux

00:00:27

passed danger #1895244
amd64 linux

00:00:26

passed misc #1895241
amd64 linux

00:00:25

passed tarball-create #1895245
amd64 linux

00:00:21

passed autoreconf #1895240
amd64 linux

00:00:24

 
  Build
canceled clang:asan #1895261
amd64 linux

canceled clang:buster:amd64 #1895267
amd64 linux

canceled clang:freebsd12:amd64 #1895269
amd64 libvirt

canceled clang:freebsd13:amd64 #1895270
amd64 libvirt

canceled clang:openbsd:amd64 #1895271
libvirt amd64

canceled clang:tsan #1895263
amd64 linux

canceled clang:tsan:noatomics #1895265
amd64 linux

canceled gcc:alpine3.14:amd64 #1895246
amd64 linux

canceled gcc:asan #1895260
amd64 linux

canceled gcc:bionic:amd64 #1895258
amd64 linux

canceled gcc:buster:amd64 #1895252
amd64 linux

canceled gcc:centos6:amd64 #1895248
amd64 linux

canceled gcc:centos6:i386 #1895247
i386 linux

canceled gcc:centos7:amd64 #1895249
amd64 linux

canceled gcc:centos8:amd64 #1895250
amd64 linux

canceled gcc:fedora34:amd64 #1895257
amd64 linux

canceled gcc:focal:amd64 #1895259
amd64 linux

canceled gcc:noatomics #1895266
amd64 linux

canceled gcc:out-of-tree #1895254
amd64 linux

canceled gcc:pkcs11 #1895268
amd64 linux

canceled gcc:sid:amd64 #1895253
amd64 linux

canceled gcc:stretch:amd64 #1895251
amd64 linux

canceled gcc:tarball #1895255
amd64 linux

00:00:05

canceled gcc:tsan #1895262
amd64 linux

canceled gcc:tsan:noatomics #1895264
amd64 linux

canceled gcc:tumbleweed:amd64 #1895256
amd64 linux

canceled msvc:windows:amd64 #1895273
amd64 windows

00:00:23

canceled nolibtool:sid:amd64 #1895272
amd64 linux

 
  Unit
canceled unit:clang:asan #1895287
amd64 linux

canceled unit:clang:buster:amd64 #1895293
amd64 linux

canceled unit:clang:freebsd12:amd64 #1895295
amd64 libvirt

canceled unit:clang:freebsd13:amd64 #1895296
amd64 libvirt

canceled unit:clang:tsan #1895289
amd64 linux

canceled unit:clang:tsan:noatomics #1895291
amd64 linux

canceled unit:gcc:alpine3.14:amd64 #1895274
amd64 linux

canceled unit:gcc:asan #1895286
amd64 linux

canceled unit:gcc:bionic:amd64 #1895284
amd64 linux

canceled unit:gcc:buster:amd64 #1895280
amd64 linux

canceled unit:gcc:centos6:amd64 #1895276
amd64 linux

canceled unit:gcc:centos6:i386 #1895275
i386 linux

canceled unit:gcc:centos7:amd64 #1895277
amd64 linux

canceled unit:gcc:centos8:amd64 #1895278
amd64 linux

canceled unit:gcc:fedora34:amd64 #1895283
amd64 linux

canceled unit:gcc:focal:amd64 #1895285
amd64 linux

canceled unit:gcc:noatomics #1895292
amd64 linux

canceled unit:gcc:pkcs11 #1895294
amd64 linux

canceled unit:gcc:sid:amd64 #1895281
amd64 linux

canceled unit:gcc:stretch:amd64 #1895279
amd64 linux

canceled unit:gcc:tsan #1895288
amd64 linux

canceled unit:gcc:tsan:noatomics #1895290
amd64 linux

canceled unit:gcc:tumbleweed:amd64 #1895282
amd64 linux

canceled unit:nolibtool:sid:amd64 #1895297
amd64 linux

 
  System
canceled system:clang:asan #1895311
amd64 linux

canceled system:clang:buster:amd64 #1895317
amd64 linux

canceled system:clang:freebsd12:amd64 #1895319
amd64 libvirt

canceled system:clang:freebsd13:amd64 #1895320
amd64 libvirt

canceled system:clang:tsan #1895313
amd64 linux allowed to fail

canceled system:clang:tsan:noatomics #1895315
amd64 linux allowed to fail

canceled system:gcc:alpine3.14:amd64 #1895298
amd64 linux

canceled system:gcc:asan #1895310
amd64 linux

canceled system:gcc:bionic:amd64 #1895308
amd64 linux

canceled system:gcc:buster:amd64 #1895304
amd64 linux

canceled system:gcc:centos6:amd64 #1895300
amd64 linux

canceled system:gcc:centos6:i386 #1895299
i386 linux

canceled system:gcc:centos7:amd64 #1895301
amd64 linux

canceled system:gcc:centos8:amd64 #1895302
amd64 linux

canceled system:gcc:fedora34:amd64 #1895307
amd64 linux

canceled system:gcc:focal:amd64 #1895309
amd64 linux

canceled system:gcc:noatomics #1895316
amd64 linux

canceled system:gcc:pkcs11 #1895318
amd64 linux

canceled system:gcc:sid:amd64 #1895305
amd64 linux

canceled system:gcc:stretch:amd64 #1895303
amd64 linux

canceled system:gcc:tsan #1895312
amd64 linux allowed to fail

canceled system:gcc:tsan:noatomics #1895314
amd64 linux allowed to fail

canceled system:gcc:tumbleweed:amd64 #1895306
amd64 linux

canceled system:nolibtool:sid:amd64 #1895321
linux amd64

 
  Docs
canceled docs #1895322
amd64 linux

 
  Postcheck
canceled cppcheck #1895326
amd64 linux

passed flake8 #1895330
amd64 linux

00:00:24

canceled gcov #1895327
amd64 linux

passed pylint #1895725
linux amd64

00:03:11

canceled scan-build #1895325
amd64 linux

canceled flake8 #1895323
amd64 linux

passed pylint #1895723
amd64 linux

00:00:28

passed pylint #1895329
amd64 linux

00:00:26

canceled pylint #1895324
amd64 linux