Remove ImportError exceptions for Plone < 4.1 code and plone.z3cform < 0.6.0.

svn path=/plone.app.discussion/trunk/; revision=49033
This commit is contained in:
Timo Stollenwerk
2011-04-22 14:59:59 +00:00
parent 31ecf38129
commit b84211ddf0
4 changed files with 23 additions and 47 deletions
+1 -5
View File
@@ -40,11 +40,7 @@ from plone.app.discussion.interfaces import IDiscussionSettings
from Products.CMFCore.CMFCatalogAware import CatalogAware
from Products.CMFCore.CMFCatalogAware import WorkflowAware
try:
from OFS.role import RoleManager
except ImportError:
# Zope <=2.12
from AccessControl.Role import RoleManager
from OFS.role import RoleManager
COMMENT_TITLE = _(u"comment_title",