And another similar one. Massimo, if there are no security implications then may be it worths going over all 'raise' statements and checking if there is more info that could be provided w/o much effort, how do you think?
--- sqlhtml.old2.py 2009-05-19 09:51:00.000000000 +0400 +++ sqlhtml.py 2009-05-23 14:49:49.158721892 +0400 @@ -114,7 +114,7 @@ opts = [] options = field.requires.options() else: - raise SyntaxError, 'widget cannot determine options' + raise SyntaxError, 'widget cannot determine options of %s'%field opts += [OPTION(v, _value=k) for (k, v) in options] return SELECT(*opts, **dict(_id=id, _class=field.type, _name=field.name, value=value, -- Sincerely yours Alexey Nezhdanov --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---