[Zope3-checkins] CVS: Zope3/src/zope/products/zwiki/browser - wikipage.py:1.2.10.1

Marius Gedminas marius at pov.lt
Fri Mar 19 13:51:26 EST 2004


Update of /cvs-repository/Zope3/src/zope/products/zwiki/browser
In directory cvs.zope.org:/tmp/cvs-serv26650/src/zope/products/zwiki/browser

Modified Files:
      Tag: mgedmin-events2-branch
	wikipage.py 
Log Message:
Added IParticipation and replaced the lists of principals in IInteraction with
a list of participations.  Made BaseRequest an IParticipation and replaced
request.user with request.principal everywhere.



=== Zope3/src/zope/products/zwiki/browser/wikipage.py 1.2 => 1.2.10.1 ===
--- Zope3/src/zope/products/zwiki/browser/wikipage.py:1.2	Fri Jan 16 08:09:07 2004
+++ Zope3/src/zope/products/zwiki/browser/wikipage.py	Fri Mar 19 13:50:53 2004
@@ -285,7 +285,7 @@
         comment = source.createComment(
             comment,
             self.context.getCommentCounter(),
-            self.request.user.getTitle(),
+            self.request.principal.getTitle(),
             datetime.now().strftime('%m/%d/%Y %H:%M:%S'))
         self.context.comment(comment)
         return self.request.response.redirect('.')




More information about the Zope3-Checkins mailing list