From 1db321a0443d1598c7a0bfcc2f656a7ccce26f21 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Wed, 6 Oct 2010 09:02:26 +0000 Subject: [PATCH] Make pylint happy. svn path=/plone.app.discussion/trunk/; revision=40527 --- plone/app/discussion/comment.py | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index 06fd026..8424f68 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -14,8 +14,6 @@ from zope.interface import implements from Acquisition import aq_parent, aq_base, Implicit -from string import Template - from AccessControl.Role import RoleManager from AccessControl.Owned import Owned @@ -37,14 +35,14 @@ try: # Plone 4: # Mixin CatalogAware and WorkflowAware into the Comment class # is necessary for comments to be indexed in Plone4. - from Products.CMFCore.CMFCatalogAware import CatalogAware - from Products.CMFCore.CMFCatalogAware import WorkflowAware + from Products.CMFCore.CMFCatalogAware import CatalogAware # pylint: disable-msg=W0611 + from Products.CMFCore.CMFCatalogAware import WorkflowAware # pylint: disable-msg=W0611 PLONE_4 = True except: # pragma: no cover # Plone 3: # Dummy imports to make Comment class happy - from OFS.Traversable import Traversable as CatalogAware - from OFS.Traversable import Traversable as WorkflowAware + from OFS.Traversable import Traversable as CatalogAware # pylint: disable-msg=W0611 + from OFS.Traversable import Traversable as WorkflowAware # pylint: disable-msg=W0611 PLONE_4 = False COMMENT_TITLE = _(u"comment_title",