r94117 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94116‎ | r94117 | r94118 >
Date:15:47, 9 August 2011
Author:mark
Status:ok
Tags:
Comment:
sb[-1] does not necessarily exist here
Modified paths:
  • /trunk/udpmcast/htcpseqcheck.py (modified) (history)

Diff [purge]

Index: trunk/udpmcast/htcpseqcheck.py
@@ -122,7 +122,7 @@
123123 # Lost packets
124124 print "%d lost packet(s) from %s, last id %d" % (counts['lost'], srcaddr, transid)
125125 elif counts['ancient']:
126 - print "Ancient packet from %s, id %d, latest id was %d" % (srcaddr, transid, sb[-1][0])
 126+ print "Ancient packet from %s, id %d" % (srcaddr, transid)
127127
128128 if counts['lost'] and sb.counts['dequeued']:
129129 print "%d/%d losses (%.2f%%), %d out-of-order, %d dups, %d ancient, %d received from %s" % (

Status & tagging log