changeset 1885:9e4aeac3abff

Page: if we set a new body, we need to invalidate old meta and old data
author Thomas Waldmann <tw AT waldmann-edv DOT de>
date Wed, 14 Mar 2007 11:01:12 +0100
parents da6479b19bd2
children 7055054118f4
files MoinMoin/Page.py
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/Page.py	Mon Mar 12 22:15:34 2007 +0100
+++ b/MoinMoin/Page.py	Wed Mar 14 11:01:12 2007 +0100
@@ -202,6 +202,8 @@
         return self.__body    
     def set_body(self, newbody):
         self.__body = newbody
+        self.__meta = None
+        self.__data = None
     body = property(fget=get_body, fset=set_body)
 
     def get_meta(self):