diff MoinMoin/caching.py @ 463:051f79718bdd

fixing yet another bug in error logging calls imported from: moin--main--1.5--patch-467
author Thomas Waldmann <tw@waldmann-edv.de>
date Tue, 07 Mar 2006 07:05:29 +0000
parents 4110fdc3c1ff
children d6556513c4d3
line wrap: on
line diff
--- a/MoinMoin/caching.py	Sun Mar 05 12:57:20 2006 +0000
+++ b/MoinMoin/caching.py	Tue Mar 07 07:05:29 2006 +0000
@@ -82,7 +82,7 @@
                 if locking:
                     self.wlock.release()
         else:
-            self.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:
-            self.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:
-            self.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