From 3eafcd73d2dd2a5c7e242950a3b90df787e5c6be Mon Sep 17 00:00:00 2001 From: helmutm Date: Wed, 13 Aug 2008 17:37:06 +0000 Subject: [PATCH] minor fixes on interface and attribute declarations git-svn-id: svn://svn.cy55.de/Zope3/src/loops/trunk@2808 fd906abe-77d9-0310-91a1-e0d9ade77398 --- organize/interfaces.py | 2 +- organize/task.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/organize/interfaces.py b/organize/interfaces.py index 97fb115..7b59a0b 100644 --- a/organize/interfaces.py +++ b/organize/interfaces.py @@ -165,7 +165,7 @@ class ITask(IConceptSchema, ITask): # 'allocated' predicate -class IAllocated(Interface): +class IAllocated(IConceptSchema): allocType = schema.Choice( title=_(u'Allocation Type'), diff --git a/organize/task.py b/organize/task.py index bfa9464..8f7f470 100644 --- a/organize/task.py +++ b/organize/task.py @@ -40,5 +40,5 @@ class Task(AdapterBase): implements(ITask) _adapterAttributes = ('context', '__parent__',) - _contextAttributes = list(ITask) + list(IConcept) + _contextAttributes = list(ITask) # + list(IConcept)