r94113 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r94112‎ | r94113 | r94114 >
Date:15:11, 9 August 2011
Author:mark
Status:ok
Tags:
Comment:
Make work with python 2.5 (hardy)
Modified paths:
  • /trunk/udpmcast/htcpseqcheck.py (modified) (history)

Diff [purge]

Index: trunk/udpmcast/htcpseqcheck.py
@@ -37,7 +37,10 @@
3838 self.counts = Counter()
3939 self.buffersize = buffersize
4040
41 - deque.__init__(self, iterable, maxlen)
 41+ try:
 42+ deque.__init__(self, iterable, maxlen)
 43+ except TypeError:
 44+ deque.__init__(self, iterable)
4245
4346 def add(self, seqnr):
4447 """

Status & tagging log