From 9d3112aad388b4369a339b851aa2507a02bb2d4f Mon Sep 17 00:00:00 2001 From: Felix Domke Date: Wed, 9 Aug 2006 00:26:15 +0000 Subject: fix caching --- lib/python/Components/Converter/RemainingToText.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/python/Components/Converter/RemainingToText.py') diff --git a/lib/python/Components/Converter/RemainingToText.py b/lib/python/Components/Converter/RemainingToText.py index 007095e0..adefe9cf 100644 --- a/lib/python/Components/Converter/RemainingToText.py +++ b/lib/python/Components/Converter/RemainingToText.py @@ -1,11 +1,12 @@ from Components.Converter.Converter import Converter +from Components.Element import cached class RemainingToText(Converter, object): def __init__(self, type): Converter.__init__(self, type) + @cached def getText(self): - r = self.source.time if r is None: return "" -- cgit v1.2.3