Update of /cvsroot/mailman/mailman3/src/mailman/berkeleydb
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv29953

Modified Files:
        berkeleydb.py 
Log Message:
check_state(): Added new ITransactionManager method, as suggested by Maki.


Index: berkeleydb.py
===================================================================
RCS file: /cvsroot/mailman/mailman3/src/mailman/berkeleydb/berkeleydb.py,v
retrieving revision 3.1
retrieving revision 3.2
diff -u -d -r3.1 -r3.2
--- berkeleydb.py       7 Apr 2004 03:24:25 -0000       3.1
+++ berkeleydb.py       20 Apr 2004 01:14:53 -0000      3.2
@@ -213,6 +213,9 @@
         stack.append(txn)
         return TxnWrapper(self, txn)
 
+    def check_state(self):
+        return bool(self._txnstack())
+
     def poptxn(self):
         self._txnstack().pop()
 


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

Reply via email to