# HG changeset patch # User Simon Heimberg # Date 2009-06-22 10:05:11 # Node ID 5fe8dc75aa4a32cac1287dcf8b59329d0b2f8d42 # Parent c487719cccef1a82db34abc3c7247028143e669c patch: use new style class in linereader diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -228,7 +228,7 @@ def readgitpatch(lr): return (dopatch, gitpatches) -class linereader: +class linereader(object): # simple class to allow pushing lines back into the input stream def __init__(self, fp, textmode=False): self.fp = fp