[Twisted-web] Override File's DirectoryLister?

Glyph glyph at twistedmatrix.com
Sun Oct 28 15:34:12 EDT 2012

On Oct 28, 2012, at 11:46 AM, Philippe May <phil.twisted-web at hanjinet.org> wrote:

>     ##   _getFilesAndDirectories is just a copy of the original function found in the File class,
>     ##   with minor modifications

Please note that overriding private methods (those that begin with an underscore and do not end with one) is likely to break without warning in a future release of Twisted.

DirectoryLister was never really designed to be extensible outside Twisted.  If you'd like to contribute some enhancements to Twisted itself, that would be great :).


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-web/attachments/20121028/7cbaf4de/attachment.htm 

More information about the Twisted-web mailing list