Shailesh Kumar wrote:
I ran into this small problem. I had added a
<meta:provides feature="afeature" />
This works fine for controlling ZCML directives.

... and that's what it was meant for.

Now at some places in my Python code, I would like to query whether afeature is available or not.
What is the way to access this?

There isn't, unless that code is invoked by configuration directives.

But couldn't figure out if this information can be accessed later on.
Is it not possible to get this information later?

Maybe. But it really wasn't meant for that.

-- -- Professional Zope documentation and training

Zope3-users mailing list

Reply via email to