From 6cf6461d778243d8a8986c658eb2246e5939bdce Mon Sep 17 00:00:00 2001 From: Mike Bayer <mike_mp@zzzcomputing.com> Date: Tue, 13 Apr 2010 10:07:04 -0400 Subject: [PATCH] - Fixed broken @property decorator on template.last_modified --- CHANGES | 4 ++++ mako/template.py | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index 98f9e86..9af7147 100644 --- a/CHANGES +++ b/CHANGES @@ -1,8 +1,12 @@ + 0.3.3 - Fixed sometimes incorrect usage of exc.__class__.__name__ in html/text error templates when using Python 2.4 [ticket:131] + +- Fixed broken @property decorator on + template.last_modified 0.3.2 - Calling a def from the top, via diff --git a/mako/template.py b/mako/template.py index b7c5419..8e93287 100644 --- a/mako/template.py +++ b/mako/template.py @@ -225,7 +225,6 @@ class Template(object): @property def last_modified(self): return self.module._modified_time - last_modified = property(last_modified) class ModuleTemplate(Template): """A Template which is constructed given an existing Python module. -- GitLab