From 0925a63c158c6dab3a1c321e5abbfad2e6c88af0 Mon Sep 17 00:00:00 2001 From: Timo Stollenwerk Date: Mon, 19 Jul 2010 08:25:37 +0000 Subject: [PATCH] Unnecessary imports removed. svn path=/plone.app.discussion/trunk/; revision=38139 --- plone/app/discussion/browser/migration.py | 9 --------- 1 file changed, 9 deletions(-) diff --git a/plone/app/discussion/browser/migration.py b/plone/app/discussion/browser/migration.py index 898eae2..bd59236 100644 --- a/plone/app/discussion/browser/migration.py +++ b/plone/app/discussion/browser/migration.py @@ -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