Mercurial > hg
changeset 5848:e90a7a3c28a4
Merge with mpm
author | Bryan O'Sullivan <bos@serpentine.com> |
---|---|
date | Fri, 11 Jan 2008 16:51:54 -0800 |
parents | e52383c7e7ab (diff) 02884e56c217 (current diff) |
children | a76395713691 |
files | mercurial/util_win32.py |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/util_win32.py Wed Jan 09 22:41:30 2008 +0900 +++ b/mercurial/util_win32.py Fri Jan 11 16:51:54 2008 -0800 @@ -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)