##// END OF EJS Templates
patch: use new style class in linereader
Simon Heimberg -
r8891:5fe8dc75 default
parent child Browse files
Show More
@@ -228,7 +228,7 b' def readgitpatch(lr):'
228
228
229 return (dopatch, gitpatches)
229 return (dopatch, gitpatches)
230
230
231 class linereader:
231 class linereader(object):
232 # simple class to allow pushing lines back into the input stream
232 # simple class to allow pushing lines back into the input stream
233 def __init__(self, fp, textmode=False):
233 def __init__(self, fp, textmode=False):
234 self.fp = fp
234 self.fp = fp
General Comments 0
You need to be logged in to leave comments. Login now