From d4c45bdd76260ac9cd7836da43dd7109a6199e01 Mon Sep 17 00:00:00 2001
From: Nicolas Delaby <nicolas@nexedi.com>
Date: Tue, 13 Oct 2009 12:27:39 +0000
Subject: [PATCH] call __repr__ instead of __str__ on objects

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29591 20353a03-c40f-0410-a6d1-a30d3c3de9de
---
 product/ZSQLCatalog/SQLCatalog.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/product/ZSQLCatalog/SQLCatalog.py b/product/ZSQLCatalog/SQLCatalog.py
index 2981018d0b..6f0953cd05 100644
--- a/product/ZSQLCatalog/SQLCatalog.py
+++ b/product/ZSQLCatalog/SQLCatalog.py
@@ -1464,7 +1464,7 @@ class Catalog(Folder,
               except ConflictError:
                 raise
               except:
-                LOG('SQLCatalog', WARNING, 'Failed to call method %s on %s' %
+                LOG('SQLCatalog', WARNING, 'Failed to call method %s on %r' %
                     (arg, object), error=sys.exc_info())
                 value = None
               if not disable_cache:
-- 
2.30.9