diff mercurial/patch.py @ 8891:5fe8dc75aa4a

patch: use new style class in linereader
author Simon Heimberg <simohe@besonet.ch>
date Mon, 22 Jun 2009 12:05:11 +0200
parents eb7b247a98ea
children 0001e49f1c11 360f61c2919f
line wrap: on
line diff
--- 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