Package: debian-goodies
Version 0.68
When I invoke checkrestart with option -b (eg. checkrestart -b
.checkrestart_blacklist) I get the following output:
Traceback (most recent call last):
File "/usr/sbin/checkrestart", line 742, in <module>
main()
File "/usr/sbin/checkrestart", line 129, in main
for line in file(f, "r"):
NameError: name 'file' is not defined
I suggest to replace file (which is not supported by python3) with open().
I am using Debian Stretch (Testing) 4.9.0-1-amd64 #1 SMP Debian 4.9.6-3
(2017-01-28) x86_64 GNU/Linux