|
From: Jens W. K. <je...@bl...> - 2014-10-22 21:45:31
|
On 2014-10-22 12:34, Jean Jordaan wrote: > Hi there > > In `configure.zcml` I have: > > <adapter name="getCountry" factory=".extender.country_indexer" /> > > In `extender.py` I have: > > @indexer(IATFile) > @indexer(IATImage) > @indexer(IProject) > @indexer(IATDocument) > def country_indexer(context): > return _country_indexer(context) > > But this doesn't catalog all those types under the `getCountry` index. > > If I comment out all but one decorator, it works for that type. > > How can I manage to catalog all of them? > i'd consider that as conceptional a bug with the decorator. Jens -- Klein & Partner KG, member of BlueDynamics Alliance |