changeset 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 c487719cccef
children 30b25ebaa63b
files mercurial/patch.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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