changeset 2119:9d497d976218

Fix bad names of parameters in wiki xmlrpc code. Looks like bug to me.
author Karol 'grzywacz' Nowak <grzywacz@sul.uni.lodz.pl>
date Thu, 14 Jun 2007 01:17:28 +0200
parents 805d56ccbea7
children 2223b127380a
files MoinMoin/xmlrpc/__init__.py
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/xmlrpc/__init__.py	Tue Jun 12 13:45:00 2007 +0200
+++ b/MoinMoin/xmlrpc/__init__.py	Thu Jun 14 01:17:28 2007 +0200
@@ -622,7 +622,7 @@
 
     def xmlrpc_applyAuthToken(self, auth_token):
         """ Applies the auth token and thereby authenticates the user. """
-        centry = caching.CacheEntry(self.request, 'xmlrpc-session', token,
+        centry = caching.CacheEntry(self.request, 'xmlrpc-session', auth_token,
                                     scope='farm', use_pickle=True)
         try:
             expiry, uid = centry.content()
@@ -644,7 +644,7 @@
 
     def xmlrpc_deleteAuthToken(self, auth_token):
         """ Delete the given auth token. """
-        centry = caching.CacheEntry(self.request, 'xmlrpc-session', token,
+        centry = caching.CacheEntry(self.request, 'xmlrpc-session', auth_token,
                                     scope='farm', use_pickle=True)
         try:
             centry.remove()