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):
  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

$ grep -n file\( initdutils.py
54:def scan_initfile(initfile):
99:    fh = file(FACILITIES, 'w')
125:        independs = RFC822Parser(fileob=file(DEPENDS))
138:    fh = file(DEPENDS, 'w')
171:    print(scan_initfile('init-fragment'))

Thanks.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1035136

Title:
  [SRU] Fix lsb-core for 12.10 and 13.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lsb/+bug/1035136/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to