changeset 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 361f1defc4c5
children ee7bbc2b2ca8
files ChangeLog MoinMoin/caching.py
diffstat 2 files changed, 17 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Sun Mar 05 12:57:20 2006 +0000
+++ b/ChangeLog	Tue Mar 07 07:05:29 2006 +0000
@@ -2,6 +2,20 @@
 # arch-tag: automatic-ChangeLog--arch@arch.thinkmo.de--2003-archives/moin--main--1.5
 #
 
+2006-03-07 08:05:29 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-467
+
+    Summary:
+      fixing yet another bug in error logging calls
+    Revision:
+      moin--main--1.5--patch-467
+
+    fixing yet another bug in error logging calls
+    
+
+    modified files:
+     ChangeLog MoinMoin/caching.py
+
+
 2006-03-05 13:57:20 GMT	Thomas Waldmann <tw@waldmann-edv.de>	patch-466
 
     Summary:
--- 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