Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#6 Simple fix for ValidateAny not validating anything

open
nobody
None
5
2003-02-21
2003-02-21
Anonymous
No

ValidateAny's attemptConvert method would always return
the converted value regardless if none of the
Validators passed. This prevented the raising of
InvalidField at the bottom of the method. The return
statement just needed moving into the try statement and
it works. I'm not sure if this patch does what was
intended but it seems to work for me.

Discussion

  • apply to Validator.py

     
    Attachments