--On 9. Juni 2007 14:17:14 +0530 Shailesh Kumar <[EMAIL PROTECTED]> wrote:
from zope.component.globalregistry import getGlobalSiteManager
gsm = getGlobalSiteManager()
gsm.unregisterUtility(component=None, provided=None, name=u'')
This won't work with Zope 2.8, however the follow
May be I am wrong. Didn't read the question properly ! Don't know
about Zope 3.0.
On 6/9/07, Shailesh Kumar <[EMAIL PROTECTED]> wrote:
from zope.component.globalregistry import getGlobalSiteManager
gsm = getGlobalSiteManager()
gsm.unregisterUtility(component=None, provided=None, name=u'
from zope.component.globalregistry import getGlobalSiteManager
gsm = getGlobalSiteManager()
gsm.unregisterUtility(component=None, provided=None, name=u'')
Would that help?
With regards,
-Shailesh
On 6/9/07, Andreas Jung <[EMAIL PROTECTED]> wrote:
I have an application where I need to
I have an application where I need to register and unregister a named
utility at runtime. In Zope 3.3 we have zope.component.unregisterUtility().
Is there something available in Zope 3.0 (as still used in Zope 2.8)?
Andreas
pgpO3rVS28Ed2.pgp
Description: PGP signature
_