diff MoinMoin/caching.py @ 458:4110fdc3c1ff

fixing some wrong attribute references imported from: moin--main--1.5--patch-462
author Thomas Waldmann <tw@waldmann-edv.de>
date Sun, 26 Feb 2006 23:55:12 +0000
parents 481c432b3d11
children 051f79718bdd
line wrap: on
line diff
--- a/MoinMoin/caching.py	Sun Feb 26 19:20:17 2006 +0000
+++ b/MoinMoin/caching.py	Sun Feb 26 23:55:12 2006 +0000
@@ -82,7 +82,7 @@
                 if locking:
                     self.wlock.release()
         else:
-            request.log("Can't acquire write lock in %s", self.lock_dir)
+            self.request.log("Can't acquire write lock in %s", self.lock_dir)
 
     def update(self, content, encode=False):
         if encode:
@@ -100,7 +100,7 @@
                 if locking:
                     self.wlock.release()
         else:
-            request.log("Can't acquire write lock in %s", self.lock_dir)
+            self.request.log("Can't acquire write lock in %s", self.lock_dir)
 
     def remove(self):
         try:
@@ -118,7 +118,7 @@
                 if locking:
                     self.rlock.release()
         else:
-            request.log("Can't acquire read lock in %s", self.lock_dir)
+            self.request.log("Can't acquire read lock in %s", self.lock_dir)
         if decode:
             data = data.decode(config.charset)
         return data