Commit 306607ce authored by Christophe Dumez's avatar Christophe Dumez

- subclass BaseTool (asked by JP)


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@7001 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 223a7f44
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
############################################################################## ##############################################################################
from Products.CMFCore.utils import UniqueObject from Products.CMFCore.utils import UniqueObject
from Products.ERP5Type.Tool.BaseTool import BaseTool
from AccessControl import ClassSecurityInfo from AccessControl import ClassSecurityInfo
from Globals import InitializeClass, DTMLFile from Globals import InitializeClass, DTMLFile
from Products.ERP5Type.Document.Folder import Folder from Products.ERP5Type.Document.Folder import Folder
...@@ -45,6 +46,7 @@ from tempfile import mktemp ...@@ -45,6 +46,7 @@ from tempfile import mktemp
from shutil import copy from shutil import copy
from zLOG import LOG from zLOG import LOG
try: try:
from base64 import b64encode, b64decode from base64 import b64encode, b64decode
except ImportError: except ImportError:
...@@ -381,7 +383,7 @@ class SubCodeBlock: ...@@ -381,7 +383,7 @@ class SubCodeBlock:
return (' '+line[1:], self.color) return (' '+line[1:], self.color)
return (line, self.color) return (line, self.color)
class SubversionTool(UniqueObject, Folder): class SubversionTool(BaseTool, UniqueObject, Folder):
"""The SubversionTool provides a Subversion interface to ERP5. """The SubversionTool provides a Subversion interface to ERP5.
""" """
id = 'portal_subversion' id = 'portal_subversion'
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment