Finishing the extension registry feature

Bernhard Reiter bernhard at intevation.de
Tue Mar 1 20:14:14 CET 2005


Am 24. Feb 2005 um 23:40:28 schrieb Jan-Oliver Wagner:
> On Fri, Feb 18, 2005 at 06:17:30PM +0100, Bernhard Reiter wrote:
> > We could also change both to use a magic function in the package.
> > Doing this for registration first and then later for tests.
> > 
> > I tend to favour the magic function solution a little bit over the
> > other, as we can later invent new magic functions for wx-dependent
> > test or what ever without changing names all the time.
> 
> here is a improved approach. Less magic names and more
> automization via callbacks.
> 
> >From there is it only small step to fully automize the
> loading of extensions in the Extensions directory :-)
> 
> Patch OK to commit?

Why not? Put it in ... :)

> +    def init_extensions(self):
> +        """Call initialization callbacks for allregistered extensions."""

Typo                                            ^^^^
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://www.intevation.de/pipermail/thuban-devel/attachments/20050301/ea139a2c/attachment.bin


More information about the Thuban-devel mailing list

This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)