[Zope3-checkins] CVS: zopeproducts/demo/messageboard/step12 -
fs.py:1.2 xmlrpc.py:1.2
Stephan Richter
srichter at cosmos.phy.tufts.edu
Mon Dec 15 11:28:14 EST 2003
Update of /cvs-repository/zopeproducts/demo/messageboard/step12
In directory cvs.zope.org:/tmp/cvs-serv4328
Modified Files:
fs.py xmlrpc.py
Log Message:
Updated step 12 (creating new skins).
=== zopeproducts/demo/messageboard/step12/fs.py 1.1 => 1.2 ===
--- zopeproducts/demo/messageboard/step12/fs.py:1.1 Mon Jul 21 17:33:45 2003
+++ zopeproducts/demo/messageboard/step12/fs.py Mon Dec 15 11:27:43 2003
@@ -21,7 +21,6 @@
from zope.app.interfaces.index.text import ISearchableText
from zope.app.content.folder import ReadDirectory as ReadDirectoryBase
from zope.app.content.file import File
-from zope.app.context import ContextWrapper
from interfaces import IVirtualContentsFile, IPlainText
from message import Message
=== zopeproducts/demo/messageboard/step12/xmlrpc.py 1.1 => 1.2 ===
--- zopeproducts/demo/messageboard/step12/xmlrpc.py:1.1 Mon Jul 21 17:33:45 2003
+++ zopeproducts/demo/messageboard/step12/xmlrpc.py Mon Dec 15 11:27:43 2003
@@ -35,7 +35,8 @@
msg.title = title
msg.body = body
publish(self.context, ObjectCreatedEvent(msg))
- return self.context.setObject(name, msg)
+ self.context[name] = msg
+ return name
def deleteMessage(self, name):
"""Delete a message. Return True, if successful."""
More information about the Zope3-Checkins
mailing list