Bugzilla – Bug 4919
SyntaxError from tl-mount-ncp
Last modified: 2014-04-02 08:57:10
You need to
before you can comment on or make changes to this bug.
Reported in issue 14759:
/opt/thinlinc/bin/tl-mount-ncp:100: SyntaxWarning: name 'i1I1ii1II1iII'
is assigned to before global declaration
The unobfuscated version of this turns into:
./tl-mount-ncp:100: SyntaxWarning: name 'VERBOSE' is assigned to before global
The global declaration is meaningless since the code is considered to be part
the same block as the assignment of VERBOSE, at line 26.
Fixed in r28193. Tester needs to make sure that his Python version is new
enough to detect and warn about errors like this.
Verified that python v2.6.6 warns about the issue using following test:
if "__main__" == __name__:
Tested using build 4303 and it works as expected.