Finishing the extension registry feature
Jan-Oliver Wagner
jan at intevation.de
Thu Mar 10 23:53:52 CET 2005
On Tue, Mar 01, 2005 at 08:14:14PM +0100, Bernhard Reiter wrote:
> 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 ... :)
done.
> > + def init_extensions(self):
> > + """Call initialization callbacks for allregistered extensions."""
>
> Typo ^^^^
fixed.
--
Jan-Oliver Wagner http://intevation.de/~jan/
Intevation GmbH http://intevation.de/
FreeGIS http://freegis.org/
More information about the Thuban-devel
mailing list
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)