[Zope3-checkins] CVS: Zope3/src/zope/app/browser/workflow/stateful - filteradapter.py:1.2
Philipp von Weitershausen
philikon@philikon.de
Fri, 6 Jun 2003 17:35:21 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/workflow/stateful
In directory cvs.zope.org:/tmp/cvs-serv27561/workflow/stateful
Modified Files:
filteradapter.py
Log Message:
New interface declaration.
=== Zope3/src/zope/app/browser/workflow/stateful/filteradapter.py 1.1 => 1.2 ===
--- Zope3/src/zope/app/browser/workflow/stateful/filteradapter.py:1.1 Thu May 8 13:27:17 2003
+++ Zope3/src/zope/app/browser/workflow/stateful/filteradapter.py Fri Jun 6 17:35:20 2003
@@ -17,6 +17,7 @@
"""
__metaclass__ = type
+from zope.interface import implements
from zope.component import queryAdapter
from zope.app.interfaces.workflow import IProcessInstanceContainerAdaptable
from zope.app.interfaces.workflow import IProcessInstanceContainer
@@ -25,7 +26,7 @@
class FilterAdapter:
__used_for__ = IProcessInstanceContainerAdaptable
- __implements__ = IContentFilterAdapter
+ implements(IContentFilterAdapter)
def __init__(self, context):
self.context = context