[Zope3-checkins] CVS: Products3/zwiki/browser - wiki.py:1.7 wikipage.py:1.7
Stephan Richter
srichter@cbu.edu
Thu, 5 Jun 2003 09:34:55 -0400
Update of /cvs-repository/Products3/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv27908/src/zopeproducts/zwiki/browser
Modified Files:
wiki.py wikipage.py
Log Message:
Updated the Zwiki Product to reflect recent API changes:
- Moved all __implements__ statements to implements()
- Moved zope.context.ContextWrapper to zope.app.context.ContextWrapper
- Moved zope.proxy.introspection.removeAllProxies to
zope.proxy.removeAllProxies
- Added a few comments
- Fixed tests
XXX: We still do not have a method for __used_for__; what should I use in
this case?
=== Products3/zwiki/browser/wiki.py 1.6 => 1.7 ===
--- Products3/zwiki/browser/wiki.py:1.6 Wed May 28 02:53:47 2003
+++ Products3/zwiki/browser/wiki.py Thu Jun 5 09:34:25 2003
@@ -20,8 +20,8 @@
from datetime import datetime
from zope.component import \
getAdapter, getService, getServiceManager, createObject
-from zope.context import ContextWrapper
-from zope.proxy.introspection import removeAllProxies
+from zope.app.context import ContextWrapper
+from zope.proxy import removeAllProxies
from zope.app.interfaces.dublincore import ICMFDublinCore
from zope.app.services.servicenames import HubIds
from zope.app.traversing import objectName, getPath
=== Products3/zwiki/browser/wikipage.py 1.6 => 1.7 ===
--- Products3/zwiki/browser/wikipage.py:1.6 Wed May 28 02:53:47 2003
+++ Products3/zwiki/browser/wikipage.py Thu Jun 5 09:34:25 2003
@@ -22,7 +22,7 @@
from zope.app.interfaces.dublincore import ICMFDublinCore
from zope.component import getAdapter, getView, getService, createObject
-from zope.context import ContextWrapper
+from zope.app.context import ContextWrapper
from zope.app.browser.form.widget import ListWidget
from zope.app.browser.form.submit import Update
from zope.app.form.widget import CustomWidget