Your code looks to me OK Will. Only you don't need to put the "if statement" before the assert. The assert has like a built in if.
It could be that python is using the wrong copy or an out-of-date copy (if the filesystem dates got mucked up) of FormLoc. All I can suggest is try putting all the code in the same file, or try renaming FormLoc.py to check if it's loading the wrong one. GBU Matthew Sherborne _______________________________________________ ActivePython mailing list [EMAIL PROTECTED] To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs Other options: http://listserv.ActiveState.com/mailman/listinfo/ActivePython