changeset 17237:e73128535105 stable

util: delegate seek and tell methods of atomictempfile
author Bryan O'Sullivan <bryano@fb.com>
date Mon, 23 Jul 2012 15:38:43 -0700
parents 0cfece81e051
children 57a47190e96c
files mercurial/util.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/util.py	Sun Jul 22 13:16:45 2012 +0200
+++ b/mercurial/util.py	Mon Jul 23 15:38:43 2012 -0700
@@ -816,6 +816,8 @@
 
         # delegated methods
         self.write = self._fp.write
+        self.seek = self._fp.seek
+        self.tell = self._fp.tell
         self.fileno = self._fp.fileno
 
     def close(self):