Re: Override File's DirectoryLister?

Glyph <[email protected]>
Newsgroups gmane.comp.python.twisted.web
Message-ID <[email protected]>
On Oct 28, 2012, at 11:46 AM, Philippe May <[email protected]> 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 :).

-glyph

_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.