equal
deleted
inserted
replaced
226 if not gitpatches: |
226 if not gitpatches: |
227 dopatch = GP_PATCH |
227 dopatch = GP_PATCH |
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 |
235 self.buf = [] |
235 self.buf = [] |
236 self.textmode = textmode |
236 self.textmode = textmode |