comparison MoinMoin/Page.py @ 2057:c071cddde1e4

Added a cosmetic newline to test if push works.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Thu, 17 May 2007 00:45:26 +0200
parents 8f709cef5aa5
children 283530fa9c52
comparison
equal deleted inserted replaced
2037:a63c473a100d 2057:c071cddde1e4
222 text = f.read() 222 text = f.read()
223 text = self.decodeTextMimeType(text) 223 text = self.decodeTextMimeType(text)
224 self.__body = text 224 self.__body = text
225 finally: 225 finally:
226 f.close() 226 f.close()
227 return self.__body 227 return self.__body
228
228 def set_body(self, newbody): 229 def set_body(self, newbody):
229 self.__body = newbody 230 self.__body = newbody
230 self.__meta = None 231 self.__meta = None
231 self.__data = None 232 self.__data = None
232 body = property(fget=get_body, fset=set_body) # complete page text 233 body = property(fget=get_body, fset=set_body) # complete page text