From b2842554f82bdb97e0026518fb75c3aecf15a9f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 13 Apr 2013 17:08:36 +0200 Subject: [PATCH] remove references to relationfield --- src/collective/dms/thesaurus/configure.zcml | 1 - src/collective/dms/thesaurus/equivalencesfield.py | 3 --- src/collective/dms/thesaurus/utils.py | 1 - 3 files changed, 5 deletions(-) diff --git a/src/collective/dms/thesaurus/configure.zcml b/src/collective/dms/thesaurus/configure.zcml index dd42446..699d166 100644 --- a/src/collective/dms/thesaurus/configure.zcml +++ b/src/collective/dms/thesaurus/configure.zcml @@ -15,7 +15,6 @@ - diff --git a/src/collective/dms/thesaurus/equivalencesfield.py b/src/collective/dms/thesaurus/equivalencesfield.py index ddec308..4eccc7c 100644 --- a/src/collective/dms/thesaurus/equivalencesfield.py +++ b/src/collective/dms/thesaurus/equivalencesfield.py @@ -12,9 +12,6 @@ from z3c.form.interfaces import IFormLayer, IFieldWidget from z3c.form.widget import FieldWidget from z3c.form.browser.multi import MultiWidget -#from z3c.relationfield.interfaces import IRelationList -#from z3c.relationfield.schema import RelationChoice, RelationList - #from Products.Five.browser.pagetemplatefile import ViewPageTemplateFile class IThesaurusKeywordEquivalences(IList): diff --git a/src/collective/dms/thesaurus/utils.py b/src/collective/dms/thesaurus/utils.py index d1af596..f042efd 100644 --- a/src/collective/dms/thesaurus/utils.py +++ b/src/collective/dms/thesaurus/utils.py @@ -1,7 +1,6 @@ import json from zope import component -from z3c.relationfield import RelationValue from Products.Five.browser import BrowserView from zope.component import getUtility