[Zope3-checkins] CVS: Zope3/src/zope/app/browser/index/text - control.py:1.12
Steve Alexander
steve@cat-box.net
Wed, 4 Jun 2003 07:14:18 -0400
Update of /cvs-repository/Zope3/src/zope/app/browser/index/text
In directory cvs.zope.org:/tmp/cvs-serv14850/src/zope/app/browser/index/text
Modified Files:
control.py
Log Message:
new style implements()
=== Zope3/src/zope/app/browser/index/text/control.py 1.11 => 1.12 ===
--- Zope3/src/zope/app/browser/index/text/control.py:1.11 Thu May 1 10:13:36 2003
+++ Zope3/src/zope/app/browser/index/text/control.py Wed Jun 4 07:13:47 2003
@@ -20,6 +20,7 @@
from __future__ import generators
+from zope.interface import implements
from zope.component import getService, queryAdapter
from zope.app.services.servicenames import HubIds
from zope.exceptions import NotFoundError
@@ -31,7 +32,7 @@
class ControlView(BrowserView):
- __implements__ = BrowserView.__implements__, IQueryView
+ implements(IQueryView)
default_start = 0 # Don't change -- always start at first batch
default_count = 2 # Default batch size -- tune as you please