changeset 1074:40b708ecc332

Fixed minor bug in XMLRPC code.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Tue, 25 Jul 2006 11:26:02 +0200
parents 61142a50c41b
children 2ecd1e6c084d
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Tue Jul 25 00:55:19 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Tue Jul 25 11:26:02 2006 +0200
@@ -589,13 +589,13 @@
         if from_rev is None:
             oldcontents = lambda: ""
         else:
-            oldpage = Page(request, pagename, rev=from_rev)
+            oldpage = Page(self.request, pagename, rev=from_rev)
             oldcontents = lambda: oldpage.get_raw_body_str()
 
         if to_rev is None:
             newcontents = lambda: currentpage.get_raw_body()
         else:
-            newpage = Page(request, pagename, rev=to_rev)
+            newpage = Page(self.request, pagename, rev=to_rev)
             newcontents = lambda: newpage.get_raw_body_str()
             newrev = newpage.get_real_rev()