patch: use new style class in linereader
authorSimon Heimberg <simohe@besonet.ch>
Mon, 22 Jun 2009 12:05:11 +0200
changeset 8891 5fe8dc75aa4a
parent 8890 c487719cccef
child 8892 30b25ebaa63b
patch: use new style class in linereader
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