Comment 7 for bug 1035136

Revision history for this message
Ma Hsiao-chun (mahsiaochun) wrote : Re: install_initd crashed with SyntaxError in __main__: invalid syntax

Actually all the files under /usr/lib/lsb are in Python2...
"#! /usr/bin/python3" is just wrong.

@mitya57
The synatx difference is far beyond the difference of "except" I guess. You may run 2to3 to see the changeset required.

BTW, "assert True" non-sense at the beginning of initdutils.py will be rejected by Python 3.