util: delegate seek and tell methods of atomictempfile stable
authorBryan O'Sullivan <bryano@fb.com>
Mon, 23 Jul 2012 15:38:43 -0700
branchstable
changeset 17237 e73128535105
parent 17234 0cfece81e051
child 17238 57a47190e96c
util: delegate seek and tell methods of atomictempfile
mercurial/util.py
--- 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):