[Zodb-checkins] SVN: ZODB/tags/3.8.1/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:18:17 EST 2008
Log message for revision 93054:
Rename abort list variable to aborts, prevents collision with as keyword
Changed:
U ZODB/tags/3.8.1/src/ZEO/scripts/zeoserverlog.py
-=-
Modified: ZODB/tags/3.8.1/src/ZEO/scripts/zeoserverlog.py
===================================================================
--- ZODB/tags/3.8.1/src/ZEO/scripts/zeoserverlog.py 2008-11-17 17:06:03 UTC (rev 93053)
+++ ZODB/tags/3.8.1/src/ZEO/scripts/zeoserverlog.py 2008-11-17 20:18:17 UTC (rev 93054)
@@ -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