From 998dde9cba66027013b497f644ea1099f4adfa86 Mon Sep 17 00:00:00 2001 From: Kazuhiko Shiozaki <kazuhiko@nexedi.com> Date: Mon, 10 Nov 2008 20:14:30 +0000 Subject: [PATCH] typo fixes and code cleanup. git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@24552 20353a03-c40f-0410-a6d1-a30d3c3de9de --- product/ERP5/Tool/CategoryTool.py | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/product/ERP5/Tool/CategoryTool.py b/product/ERP5/Tool/CategoryTool.py index 1851ddd4ef..0d3a63e8d3 100644 --- a/product/ERP5/Tool/CategoryTool.py +++ b/product/ERP5/Tool/CategoryTool.py @@ -4,10 +4,10 @@ # Jean-Paul Smets-Solanes <jp@nexedi.com> # # WARNING: This program as such is intended to be used by professional -# programmers who take the whole responsability of assessing all potential +# programmers who take the whole responsibility of assessing all potential # consequences resulting from its eventual inadequacies and bugs # End users who are looking for a ready-to-use solution with commercial -# garantees and support are strongly adviced to contract a Free Software +# guarantees and support are strongly adviced to contract a Free Software # Service Company # # This program is Free Software; you can redistribute it and/or @@ -32,15 +32,12 @@ ERP5 portal_categories tool. from Products.CMFCategory.CategoryTool import CategoryTool as CMFCategoryTool from Products.ERP5Type.Tool.BaseTool import BaseTool -from Products.BTreeFolder2.BTreeFolder2 import BTreeFolder2 from AccessControl import ClassSecurityInfo from Acquisition import aq_base -from Globals import InitializeClass, DTMLFile, PersistentMapping -from OFS.Folder import Folder as OFS_Folder +from Globals import InitializeClass from Products.ERP5Type import Permissions from Products.ERP5Type.CopySupport import CopyContainer from Products.CMFCore.utils import getToolByName -from Products.ERP5Type.Document import newTempBase from Products.ERP5Type.Cache import CachingMethod from zLOG import LOG @@ -195,4 +192,3 @@ class CategoryTool(CopyContainer, CMFCategoryTool, BaseTool): new_o_category_url) InitializeClass( CategoryTool ) - -- 2.30.9