It would be helpful if you could upload this as a patch to the Webware
SourceForge pages.  Someday I (or someone else) will get a chance to review
all of the outstanding patches and bug reports there and apply them.

- Geoff

Christoph Zwerschke wrote:
> Here is a suggestion for improvement of the function
> findDirectoryIndex in the Application.py module.
> 
> The problem is that this function ignores cascading extensions.
> 
> For instance, if you have a configuration like this one:
> 'DirectoryFile': ['index','main'],
> 'UseCascadingExtensions': 1,
> 'ExtensionCascadeOrder':['.py','.html'],
> 
> Webware 0.8.1 will output an error if you have
> an index.html and an index.py file.
> 
> I assume this has simply been forgotten when cascading
> extensions where
> introduced and I have added the functionality in the
> findDirectoryIndex function (see attachment).
> 
> Of course, DirectoryFile has precedence over ExtensionCascadeOrder.
> So in the above case, 'index.html' would be prefered over 'main.py'.
> 
> Gtx
> Christoph Zwerschke



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Webware-devel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/webware-devel

Reply via email to