changeset 2202:bc35cd725c37

make templater.stringio a tiny bit more use.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 04 May 2006 14:45:57 -0700
parents f15056b29472
children 9569eea1707c
files mercurial/templater.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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)