diff mercurial/patch.py @ 14764:a7d5816087a9 stable

classes: fix class style problems found by b071cd58af50 This makes test-wireprotocol.py work on Python 2.4
author Thomas Arendsen Hein <thomas@intevation.de>
date Wed, 29 Jun 2011 15:00:00 +0200
parents e4d3370fa234
children d60e4f227d75
line wrap: on
line diff
--- a/mercurial/patch.py	Wed Jun 29 13:45:51 2011 +0200
+++ b/mercurial/patch.py	Wed Jun 29 15:00:00 2011 +0200
@@ -1009,7 +1009,7 @@
     def new(self, fuzz=0, toponly=False):
         return self.fuzzit(self.b, fuzz, toponly)
 
-class binhunk:
+class binhunk(object):
     'A binary patch file. Only understands literals so far.'
     def __init__(self, lr):
         self.text = None