[Zope-Checkins] CVS: ZODB3/ZODB - ActivityMonitor.py:1.5

Jeremy Hylton jeremy at zope.com
Tue Dec 30 15:17:42 EST 2003


Update of /cvs-repository/ZODB3/ZODB
In directory cvs.zope.org:/tmp/cvs-serv20977

Modified Files:
	ActivityMonitor.py 
Log Message:
Remove unused local variables.


=== ZODB3/ZODB/ActivityMonitor.py 1.4 => 1.5 ===
--- ZODB3/ZODB/ActivityMonitor.py:1.4	Wed Oct  9 11:11:25 2002
+++ ZODB3/ZODB/ActivityMonitor.py	Tue Dec 30 15:17:41 2003
@@ -60,7 +60,6 @@
 
     def getActivityAnalysis(self, start=0, end=0, divisions=10):
         res = []
-        log = self.log
         now = time.time()
         if start == 0:
             start = now - self.history_length
@@ -76,7 +75,6 @@
                 })
 
         div = res[0]
-        div_start = div['start']
         div_end = div['end']
         div_index = 0
         connections = 0
@@ -99,7 +97,6 @@
                 div_index = div_index + 1
                 if div_index < divisions:
                     div = res[div_index]
-                    div_start = div['start']
                     div_end = div['end']
             connections = connections + 1
             total_loads = total_loads + loads




More information about the Zope-Checkins mailing list