comparison mercurial/patch.py @ 9712:18b134ef294c

kill trailing whitespace
author Dirkjan Ochtman <dirkjan@ochtman.nl>
date Thu, 05 Nov 2009 10:44:36 +0100
parents 618af2034ca6
children 3f522d2fa633
comparison
equal deleted inserted replaced
9711:d29bd00bbc50 9712:18b134ef294c
298 try: 298 try:
299 return list(linereader(fp, self.eol is not None)) 299 return list(linereader(fp, self.eol is not None))
300 finally: 300 finally:
301 fp.close() 301 fp.close()
302 302
303 def writelines(self, fname, lines): 303 def writelines(self, fname, lines):
304 # Ensure supplied data ends in fname, being a regular file or 304 # Ensure supplied data ends in fname, being a regular file or
305 # a symlink. updatedir() will -too magically- take care of 305 # a symlink. updatedir() will -too magically- take care of
306 # setting it to the proper type afterwards. 306 # setting it to the proper type afterwards.
307 islink = os.path.islink(fname) 307 islink = os.path.islink(fname)
308 if islink: 308 if islink: