On Tuesday February 19, 2002 05:05 pm, Tavis Rudd wrote: > On Tuesday 19 February 2002 12:39, John Smith wrote: > > Hello, > > > > If a user specifies __init__ as the servlet in a > > context which has a __init__.py, an exception is > > raised (since there is no class called __init__ in the > > file). > > > > What's the best way of avoiding this? Providing a > > __init__ class that displays an error message? > > Modifying the source not to serve out this file? > > See the FilesToHide setting in the Application.config file. Come to > think of it, we should add '__init__.py*' to the default list > ... Geoff, could you check that in?
I just checked it in. I also added *.pyo and *.pyc to the FilesToHide. - Geoff _______________________________________________ Webware-discuss mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/webware-discuss
