# HG changeset patch # User Simon Heimberg # Date 1245665111 -7200 # Node ID 5fe8dc75aa4a32cac1287dcf8b59329d0b2f8d42 # Parent c487719cccef1a82db34abc3c7247028143e669c patch: use new style class in linereader diff -r c487719cccef -r 5fe8dc75aa4a mercurial/patch.py --- a/mercurial/patch.py Sun Jun 14 20:24:18 2009 +0200 +++ b/mercurial/patch.py Mon Jun 22 12:05:11 2009 +0200 @@ -228,7 +228,7 @@ 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