SVN: r25819 - trunk/quixote

David Binger <dbinger-fVcApmY9cLvQ3/1i3zOLAti2O/[email protected]> Tue, 21 Dec 2004 16:13:36 -0500
Newsgroups gmane.comp.web.quixote.cvs
Message-ID <[email protected]>
Author: dbinger
Date: 2004-12-21 13:35:10 -0500 (Tue, 21 Dec 2004)
New Revision: 25819

Modified:
   trunk/quixote/publish.py
Log:
Remove stale comment about unknown ZODB incantations.


Modified: trunk/quixote/publish.py
===================================================================
--- trunk/quixote/publish.py	2004-12-21 18:20:09 UTC (rev 25818)
+++ trunk/quixote/publish.py	2004-12-21 18:35:10 UTC (rev 25819)
@@ -310,7 +310,6 @@
 
     def finish_interrupted_request(self, exc):
         output = Publisher.finish_interrupted_request(self, exc)
-
         # commit the current transaction so that any changes to the
         # session objects are saved and are visible on the next HTTP
         # hit.  Remember, AccessError is a subclass of PublishError,
@@ -323,12 +322,7 @@
         # why this would be necessary), you'll have to abort the
         # current transaction, make your session changes, and then
         # raise the PublishError.
-        #
-        # XXX We should really be able to commit session changes and
-        # database changes separately, but that requires ZODB
-        # incantations that we currently don't know.
         self.session_mgr.commit_changes(get_session())
-
         return output
 
     def finish_failed_request(self):
@@ -336,7 +330,6 @@
             self.session_mgr.abort_changes(get_session())
         return Publisher.finish_failed_request(self)
 
-# class SessionPublisher
 
 # Publisher singleton, only one of these per process.
 _publisher = None