changeset 1024:608fbab8b6c3

Fixed typos.
author Alexander Schremmer <alex AT alexanderweb DOT de>
date Thu, 20 Jul 2006 00:12:34 +0200
parents 95b16d7c135c
children 8ee55064a4f2
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Wed Jul 19 09:42:31 2006 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Thu Jul 20 00:12:34 2006 +0200
@@ -628,12 +628,12 @@
         
         # write page
         try:
-            page.saveText(newcontents.encode("utf-8"), last_remote_rev, comment=comment)
-            page.clean_acl_cache()
+            currentpage.saveText(newcontents.encode("utf-8"), last_remote_rev, comment=comment)
+            currentpage.clean_acl_cache()
         except PageEditor.EditConflict:
             return LASTREV_INVALID
 
-        current_rev = page.get_real_rev()
+        current_rev = currentpage.get_real_rev()
         
         tags = TagStore(currentpage)
         tags.add(remote_wiki=interwiki_name, remote_rev=local_rev, current_rev=current_rev)