Reported in issue 14759: /opt/thinlinc/bin/tl-mount-ncp:100: SyntaxWarning: name 'i1I1ii1II1iII' is assigned to before global declaration global i1I1ii1II1iII The unobfuscated version of this turns into: ./tl-mount-ncp:100: SyntaxWarning: name 'VERBOSE' is assigned to before global declaration global VERBOSE The global declaration is meaningless since the code is considered to be part of 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: VERBOSE=False if "__main__" == __name__: global VERBOSE Tested using build 4303 and it works as expected.