2011/4/3 MRAB <pyt...@mrabarnett.plus.com>:
> I can't see what the "mail = None, comment = None" is meant to be.

If this is to reset the two variables after inserting into the
database, you may want to use either:

mail = None; comment = None  # semicolon not comma
or
mail = comment = None  # chaining assignment

Is that the line with the error, though?

Chris Angelico
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to