[Zope-Checkins] Re: SVN: Zope/trunk/lib/python/OFS/content_types.py replaced with aliases for Z3 methods

Philipp von Weitershausen philipp at weitershausen.de
Sat Dec 10 19:54:53 EST 2005


Sidnei da Silva wrote:
> On Sat, Dec 10, 2005 at 10:54:11AM -0500, Andreas Jung wrote:
> | Log message for revision 40675:
> |   replaced with aliases for Z3 methods
> <snip>
> | -def add_files(filenames):
> 
> The add_files method is also used by the 'mime-types' zope.conf
> directive handler.

Yes. As I told Andreas in IRC last night, the zope.app.content_types
module was once copied over from OFS.content_types. Since then, however,
OFS.content_types has seen some bugfixes (that zope.app.content_types
hasn't).

I proposed to move over the whole OFS.content_types module (as it was
before) to zope.app.content_types, provide some tests for the bugfixes
so that we know they are there and make OFS.content_types a deprecated
alias of zope.app.content_types.

Philipp



More information about the Zope-Checkins mailing list