I don't think this issue was completely fixed. I see this error when I run install_initd with lsb version 4.0-0ubuntu27.2
Traceback (most recent call last):
File "/usr/lib/lsb/install_initd", line 102, in <module>
initdutils.save_depends(depends)
File "/usr/lib/lsb/initdutils.py", line 138, in save_depends
fh = file(DEPENDS, 'w')
NameError: global name 'file' is not defined
There still exists some references to 'file' in initdutils.py
Hello
I don't think this issue was completely fixed. I see this error when I run install_initd with lsb version 4.0-0ubuntu27.2
Traceback (most recent call last): lsb/install_ initd", line 102, in <module> save_depends( depends) lsb/initdutils. py", line 138, in save_depends
File "/usr/lib/
initdutils.
File "/usr/lib/
fh = file(DEPENDS, 'w')
NameError: global name 'file' is not defined
There still exists some references to 'file' in initdutils.py
$ grep -n file\( initdutils.py initfile) : fileob= file(DEPENDS) ) initfile( 'init-fragment' ))
54:def scan_initfile(
99: fh = file(FACILITIES, 'w')
125: independs = RFC822Parser(
138: fh = file(DEPENDS, 'w')
171: print(scan_
Thanks.