[Zodb-checkins] SVN: ZODB/trunk/src/ fixed Python 2.6 compatiblity bug in ZEO/scripts/zeoserverlog.poy
Andreas Jung
andreas at andreas-jung.com
Mon Mar 30 11:37:42 EDT 2009
Log message for revision 98602:
fixed Python 2.6 compatiblity bug in ZEO/scripts/zeoserverlog.poy
Changed:
U ZODB/trunk/src/CHANGES.txt
U ZODB/trunk/src/ZEO/scripts/zeoserverlog.py
-=-
Modified: ZODB/trunk/src/CHANGES.txt
===================================================================
--- ZODB/trunk/src/CHANGES.txt 2009-03-30 14:13:37 UTC (rev 98601)
+++ ZODB/trunk/src/CHANGES.txt 2009-03-30 15:37:42 UTC (rev 98602)
@@ -43,6 +43,11 @@
There are corresponding methods to read and set the new configuration
parameters.
+Bugs Fixed
+----------
+
+- fixed Python 2.6 compatibility issue with ZEO/zeoserverlog.py
+
3.9.0a12 (2009-02-26)
=====================
Modified: ZODB/trunk/src/ZEO/scripts/zeoserverlog.py
===================================================================
--- ZODB/trunk/src/ZEO/scripts/zeoserverlog.py 2009-03-30 14:13:37 UTC (rev 98601)
+++ ZODB/trunk/src/ZEO/scripts/zeoserverlog.py 2009-03-30 15:37:42 UTC (rev 98602)
@@ -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:
@@ -426,11 +426,11 @@
'75%', '90%', 'max', 'mean'))
print "n=%6d\t" % len(cls), '-'*62
print 'Clients: \t', '\t'.join(map(str,stats(cls)))
- 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 'Trans: \t', '\t'.join(map(str,stats( ts)))
+ 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(aborts)))
+ print 'Trans: \t', '\t'.join(map(str,stats(ts)))
def stats(s):
s.sort()
More information about the Zodb-checkins
mailing list