make templater.stringio a tiny bit more use.
authorVadim Gelfer <vadim.gelfer@gmail.com>
Thu, 04 May 2006 14:45:57 -0700
changeset 2202 bc35cd725c37
parent 2201 f15056b29472
child 2203 9569eea1707c
make templater.stringio a tiny bit more use.
mercurial/templater.py
--- a/mercurial/templater.py	Thu May 04 12:25:10 2006 -0700
+++ b/mercurial/templater.py	Thu May 04 14:45:57 2006 -0700
@@ -511,5 +511,5 @@
 
     write_header = write
 
-    def getvalue(self):
-        return self.fp.getvalue()
+    def __getattr__(self, key):
+        return getattr(self.fp, key)