Logo Search packages:      
Sourcecode: zope-cmf1.5 version File versions  Download package

def CMFSetup::registry::ToolsetRegistry::addForbiddenTool (   self,
  tool_id 
)

See IToolsetRegistry.

Definition at line 428 of file registry.py.

00428                                          :

        """ See IToolsetRegistry.
        """
        if tool_id in self._forbidden:
            return

        if self._required.get( tool_id ) is not None:
            raise ValueError, 'Tool %s is required!' % tool_id

        self._forbidden.append( tool_id )

    security.declareProtected( ManagePortal, 'listRequiredTools' )
    def listRequiredTools( self ):


Generated by  Doxygen 1.6.0   Back to index