[Zope3-checkins] CVS: Zope3/src/zope/app/dav - globaldavschemaservice.py:1.3 widget.py:1.4
Steve Alexander
steve@cat-box.net
Fri, 6 Jun 2003 15:29:32 -0400
Update of /cvs-repository/Zope3/src/zope/app/dav
In directory cvs.zope.org:/tmp/cvs-serv7875/src/zope/app/dav
Modified Files:
globaldavschemaservice.py widget.py
Log Message:
Changed old-style __implements__ to new-style implements()
Also, fixed up some incorrect formatting.
=== Zope3/src/zope/app/dav/globaldavschemaservice.py 1.2 => 1.3 ===
--- Zope3/src/zope/app/dav/globaldavschemaservice.py:1.2 Tue May 20 15:43:27 2003
+++ Zope3/src/zope/app/dav/globaldavschemaservice.py Fri Jun 6 15:29:01 2003
@@ -18,9 +18,10 @@
from zope.component.exceptions import ComponentLookupError
from zope.app.component.globalinterfaceservice import InterfaceService
from zope.app.interfaces.component import IGlobalDAVSchemaService
+from zope.interface import implements
class DAVSchemaService(InterfaceService):
- __implements__ = IGlobalDAVSchemaService
+ implements(IGlobalDAVSchemaService)
def __init__(self, data=None):
if data is None:
=== Zope3/src/zope/app/dav/widget.py 1.3 => 1.4 ===
--- Zope3/src/zope/app/dav/widget.py:1.3 Tue Jun 3 18:46:19 2003
+++ Zope3/src/zope/app/dav/widget.py Fri Jun 6 15:29:01 2003
@@ -20,9 +20,10 @@
from zope.app.interfaces.form import IWidget
from zope.component.interfaces import IViewFactory
from zope.app.form.widget import Widget
+from zope.interface import implements
class SimpleDAVWidget(Widget):
- __implements__ = (ISimpleDAVWidget, IWidget, IViewFactory)
+ implements(ISimpleDAVWidget, IWidget, IViewFactory)
def haveData(self):
return 1