Back to index

plone3  3.1.7
tool.py
Go to the documentation of this file.
00001 ##############################################################################
00002 #
00003 # Copyright (c) 2004 Zope Corporation and Contributors. All Rights Reserved.
00004 #
00005 # This software is subject to the provisions of the Zope Public License,
00006 # Version 2.1 (ZPL).  A copy of the ZPL should accompany this distribution.
00007 # THIS SOFTWARE IS PROVIDED "AS IS" AND ANY AND ALL EXPRESS OR IMPLIED
00008 # WARRANTIES ARE DISCLAIMED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
00009 # WARRANTIES OF TITLE, MERCHANTABILITY, AGAINST INFRINGEMENT, AND FITNESS
00010 # FOR A PARTICULAR PURPOSE.
00011 #
00012 ##############################################################################
00013 """ Classes:  SetupTool
00014 
00015 $Id: tool.py 81996 2007-11-27 21:46:16Z yuppie $
00016 """
00017 
00018 from Products.GenericSetup.tool import exportStepRegistries
00019 from Products.GenericSetup.tool import importToolset
00020 from Products.GenericSetup.tool import exportToolset
00021 from Products.GenericSetup.tool import SetupTool as BaseTool
00022 
00023 
00024 class SetupTool(BaseTool):
00025 
00026     #BBB: for setup tools created with CMF 1.5
00027     id = 'portal_setup'
00028 
00029     def __init__(self, id='portal_setup'):
00030         BaseTool.__init__(self, id)