1 Oct
2001
1 Oct
'01
5:13 p.m.
Hi, I made a buggy access rule at the root of ZODB that makes the ZMI unreachable (error in Python script) I want to delete this accessrule so I stopped Zope and % cd $ZOPEROOT/lib/python % $ZOPEROOT/bin/python
import Zope app = Zope.app() dir(app) [..., 'accessrule'...] app.manage_delObjects(['accessrule']) dir(app) [...] # no more "accessrule" ^D
but 'accessrule' is STILL HERE ! When I do again : % $ZOPEROOT/bin/python
import Zope app = Zope.app() dir(app) [..., 'accessrule'...] # Thought it was deleted !!!
Did I miss something ? Is there a "commit" like to do before quitting python? Thanks in advance --Gilles