[Checkins] SVN: ZODB/branches/3.8/src/ZODB/Connection.py Fix activity logs for non primary DBs (mount-points).

Florian Schulze florian.schulze at gmx.net
Fri Nov 2 20:22:27 EDT 2007


Log message for revision 81414:
  Fix activity logs for non primary DBs (mount-points).

Changed:
  U   ZODB/branches/3.8/src/ZODB/Connection.py

-=-
Modified: ZODB/branches/3.8/src/ZODB/Connection.py
===================================================================
--- ZODB/branches/3.8/src/ZODB/Connection.py	2007-11-03 00:20:53 UTC (rev 81413)
+++ ZODB/branches/3.8/src/ZODB/Connection.py	2007-11-03 00:22:26 UTC (rev 81414)
@@ -312,6 +312,9 @@
                 # get back here.
         else:
             self._opened = None
+            am = self._db._activity_monitor
+            if am is not None:
+                am.closedConnection(self)
 
     def db(self):
         """Returns a handle to the database this connection belongs to."""



More information about the Checkins mailing list