Jim Ramsay <[EMAIL PROTECTED]> writes:

> +authinit = False

True and False were only added in Python 2.2.1, so code like this
will break tmda-cgi for users of earlier Python versions.

http://tmda.net/tmda-cgi/index.html#Require says tmda-cgi supports
Python 2.1 and above.

If you'd rather use True/False instead of 1/0, you can add code like
the following to the top of files:

try:
    True, False
except NameError:
    True = 1
    False = 0

Doing your development/testing with the minimum supported version of
Python is also a good way to catch things like this.
_________________________________________________
tmda-workers mailing list ([EMAIL PROTECTED])
http://tmda.net/lists/listinfo/tmda-workers

Reply via email to