author | Patrick Mezard <pmezard@gmail.com> |
Fri, 11 Jan 2008 21:20:27 +0100 | |
changeset 5847 | e52383c7e7ab |
parent 5830 | c32d41affb68 |
child 5848 | e90a7a3c28a4 |
--- a/mercurial/util_win32.py Thu Jan 10 12:07:18 2008 +0300 +++ b/mercurial/util_win32.py Fri Jan 11 21:20:27 2008 +0100 @@ -285,6 +285,10 @@ except pywintypes.error, err: raise WinIOError(err) + def writelines(self, sequence): + for s in sequence: + self.write(s) + def seek(self, pos, whence=0): try: win32file.SetFilePointer(self.handle, int(pos), whence)