Guest User

Untitled

a guest
Jul 18th, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. hannosch:40 hannosch$ ./bin/instance debug
  2. Starting debugger (the name "app" is bound to the top-level Zope object)
  3. >>> from zope.site.hooks import setHooks, setSite
  4. >>> portal = app['Plone']
  5. >>> setHooks()
  6. >>> setSite(portal)
  7. >>> portal._components.unregisterUtility
  8. <bound method PersistentComponents.unregisterUtility of <PersistentComponents /Plone>>
  9. >>>
Add Comment
Please, Sign In to add comment