Unnecessary imports removed.

svn path=/plone.app.discussion/trunk/; revision=38139
This commit is contained in:
Timo Stollenwerk 2010-07-19 08:25:37 +00:00
parent d0f93e6376
commit 0925a63c15

View File

@ -6,18 +6,10 @@ from Products.Five.browser import BrowserView
from Products.CMFCore.utils import getToolByName
from Products.CMFPlone import PloneMessageFactory as _
from Products.statusmessages.interfaces import IStatusMessage
from Products.CMFCore.interfaces import IContentish
from Products.CMFCore.interfaces._content import IDiscussionResponse
import transaction
from zope.component import createObject
from plone.app.discussion.comment import CommentFactory
from plone.app.discussion.interfaces import IConversation, IReplies, IComment
@ -44,7 +36,6 @@ class View(BrowserView):
transaction.begin()
catalog = getToolByName(context, 'portal_catalog')
dtool = context.portal_discussion
def log(msg):
# encode string before sending it to external world