changeset 1256:f3c8f750c1fe

Another minor unicode bug in getDiff.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 10 Aug 2006 23:19:41 +0200
parents d1930ce1cc0f
children 5b015ced5609
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Thu Aug 10 23:03:19 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Thu Aug 10 23:19:41 2006 +0200
@@ -602,7 +602,7 @@
 
         if to_rev is None:
             newpage = currentpage
-            newcontents = lambda: currentpage.get_raw_body()
+            newcontents = lambda: currentpage.get_raw_body_str()
         else:
             newpage = Page(self.request, pagename, rev=to_rev)
             newcontents = lambda: newpage.get_raw_body_str()