Update of /cvsroot/mailman/mailman3/bin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv30206

Modified Files:
        webserver 
Log Message:
render(): Use the new ITransactionManager.check_state() method instead of a
non-public method.


Index: webserver
===================================================================
RCS file: /cvsroot/mailman/mailman3/bin/webserver,v
retrieving revision 3.0
retrieving revision 3.1
diff -u -d -r3.0 -r3.1
--- webserver   29 Mar 2004 05:18:49 -0000      3.0
+++ webserver   20 Apr 2004 01:16:18 -0000      3.1
@@ -104,8 +104,8 @@
         else:
             if txnlist: txnlist.commit()
             if txnuser: txnuser.commit()
-        assert not dbmgr.lists._txnstack(), 'listdb: %s' % listdb._txnstack()
-        assert not dbmgr.users._txnstack(), 'userdb: %s' % userdb._txnstack()
+        assert not dbmgr.lists.check_state(), 'lists: transaction active'
+        assert not dbmgr.users.check_state(), 'users: transaction active'
         if utext is None:
             return
         # All do_ methods return unicode strings, as is the default for all


_______________________________________________
Mailman-checkins mailing list
[EMAIL PROTECTED]
Unsubscribe: http://mail.python.org/mailman/options/mailman-checkins/archive%40jab.org

Reply via email to