[Zodb-checkins] SVN: ZODB/branches/3.8/src/ZEO/scripts/zeoserverlog.py Rename abort list variable to aborts, prevents collision with as keyword

Matthew Wilkes matthew at matthewwilkes.co.uk
Mon Nov 17 15:41:05 EST 2008


Log message for revision 93056:
  Rename abort list variable to aborts, prevents collision with as keyword

Changed:
  U   ZODB/branches/3.8/src/ZEO/scripts/zeoserverlog.py

-=-
Modified: ZODB/branches/3.8/src/ZEO/scripts/zeoserverlog.py
===================================================================
--- ZODB/branches/3.8/src/ZEO/scripts/zeoserverlog.py	2008-11-17 20:30:34 UTC (rev 93055)
+++ ZODB/branches/3.8/src/ZEO/scripts/zeoserverlog.py	2008-11-17 20:41:05 UTC (rev 93056)
@@ -372,7 +372,7 @@
     rs = []
     ss = []
     cs = []
-    as = []
+    aborts = []
     ts = []
     cls = []
 
@@ -392,7 +392,7 @@
                     rs.append(r)
                     ss.append(s)
                     cs.append(c)
-                    as.append(a)
+                    aborts.append(a)
                     ts.append(c+a)
                 mlast = m
                 r = s = c = a = 0
@@ -417,7 +417,7 @@
         rs.append(r)
         ss.append(s)
         cs.append(c)
-        as.append(a)
+        aborts.append(a)
         ts.append(c+a)
 
     if summary:
@@ -429,7 +429,7 @@
         print 'Reads:   \t', '\t'.join(map(str,stats( rs)))
         print 'Stores:  \t', '\t'.join(map(str,stats( ss)))
         print 'Commits: \t', '\t'.join(map(str,stats( cs)))
-        print 'Aborts:  \t', '\t'.join(map(str,stats( as)))
+        print 'Aborts:  \t', '\t'.join(map(str,stats( aborts)))
         print 'Trans:   \t', '\t'.join(map(str,stats( ts)))
 
 def stats(s):



More information about the Zodb-checkins mailing list