changeset 5454 | f2ca8d2c988f |
parent 5450 | c728424d44c6 |
child 5481 | 003d1f174fe1 |
--- a/mercurial/util.py Thu Oct 11 12:16:55 2007 +0200 +++ b/mercurial/util.py Thu Oct 11 16:19:12 2007 +0200 @@ -484,7 +484,7 @@ l = len(pats) if l < 2: raise - a, b = matchfn(pats[:l/2], tail), matchfn(pats[l/2:], tail) + a, b = matchfn(pats[:l//2], tail), matchfn(pats[l//2:], tail) return lambda s: a(s) or b(s) except re.error: for k, p in pats: