From 7d3247ff0c2f9492940ac07e46b6501074d6c635 Mon Sep 17 00:00:00 2001 From: Hanno Schlichting Date: Fri, 18 Jun 2010 12:01:44 +0000 Subject: [PATCH] Avoid deprecation warning for the Globals package. svn path=/plone.app.discussion/trunk/; revision=37349 --- CHANGES.txt | 3 +++ plone/app/discussion/comment.py | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES.txt b/CHANGES.txt index 6067a8c..562f17c 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,6 +4,9 @@ Changelog 1.0b5 (unreleased) ------------------ +* Avoid deprecation warning for the Globals package. + [hannosch] + * Remove the hard coded check for title and text when the comment form is submitted. This allows integrators to write schema extenders that remove the title from the comment form. diff --git a/plone/app/discussion/comment.py b/plone/app/discussion/comment.py index cc730cb..2d920ea 100644 --- a/plone/app/discussion/comment.py +++ b/plone/app/discussion/comment.py @@ -14,7 +14,7 @@ from Acquisition import aq_parent, Implicit from AccessControl.Role import RoleManager from AccessControl.Owned import Owned -from Globals import Persistent +from persistent import Persistent from Products.CMFCore.DynamicType import DynamicType from Products.CMFCore.utils import getToolByName