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.
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.