Namespace problem?
Josh English
joshua.r.english at gmail.com
Fri Jul 2 18:00:50 EDT 2010
On Jul 1, 3:30 pm, "Rhodri James" <rho... at wildebst.demon.co.uk> wrote:
>
> If this is a version of your code that actually fails when you run it
> (rather than being another artistic interpretation of a photograph of your
> code :-), then I'd go with Matt's analysis. This will give you a
> NameError for fws_last_col if tracker.hasFWS() happens to return False for
> all students.
>
Actually, tracker.hasFWS() was returning False for an entirely
different reason that I didn't expect until I had the script dump all
the information it was processing. Thanks for the clue. I added one
parameter to one function elsewhere and the thing seems to be working
again.
Thanks for the help.
Josh
More information about the Python-list
mailing list