I'm trying to create an uninstall (extension) profile for
Products.membrane. I've created a toolset.xml like so:

  <forbidden tool_id="membrane_tool"

But on running the profile I get a "ValueError: Tool membrane_tool is

This happens because on parsing the toolset.xml we hit:

class IToolsetRegistry( Interface ):

    def addForbiddenTool(tool_id ):

        """ Add 'tool_id' to the list of forbidden tools.

        o Raise KeyError if 'tool_id' is already in the list.

        o Raise ValueError if 'tool_id' is in the "required" list.

Should this be allowed, or should perhaps both required and forbidden
directives support a remove attribute?

Zope-CMF maillist  -  Zope-CMF@zope.org

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests

Reply via email to