[Zodb-checkins] SVN: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py - refined formatting of logging statement

Christian Theune ct at gocept.com
Mon Feb 27 18:30:03 EST 2006


Log message for revision 65546:
   - refined formatting of logging statement
  

Changed:
  U   ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py

-=-
Modified: ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py
===================================================================
--- ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py	2006-02-27 23:26:13 UTC (rev 65545)
+++ ZODB/branches/blob-merge-branch/src/ZEO/ClientStorage.py	2006-02-27 23:30:02 UTC (rev 65546)
@@ -968,7 +968,8 @@
         blob_filename = self.fshelper.getBlobFilename(oid, serial)
         # Case 1: Blob is available already, just use it
         if os.path.exists(blob_filename):
-            log2("Found blob %s/%s in cache." % (oid, serial), level=BLATHER)
+            log2("Found blob %s/%s in cache." % (utils.repr_to_oid(oid),
+                utils.repr_to_oid(serial)), level=BLATHER)
             return blob_filename
 
         # Case 2,3: Blob might still be downloading or not there yet
@@ -995,7 +996,8 @@
             # we just take the result.
             if os.path.exists(blob_filename):
                 log2("Found blob %s/%s in cache after it was downloaded "
-                     "from another thread." % (oid, serial), level=BLATHER)
+                     "from another thread." % (utils.repr_to_oid(oid),
+                     utils.repr_to_oid(serial)), level=BLATHER)
                 return blob_filename
 
             # Otherwise we download and use that



More information about the Zodb-checkins mailing list