[Erp5-report] r29591 - /erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
nobody at svn.erp5.org
nobody at svn.erp5.org
Tue Oct 13 14:27:41 CEST 2009
Author: nicolas
Date: Tue Oct 13 14:27:39 2009
New Revision: 29591
URL: http://svn.erp5.org?rev=29591&view=rev
Log:
call __repr__ instead of __str__ on objects
Modified:
erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
Modified: erp5/trunk/products/ZSQLCatalog/SQLCatalog.py
URL: http://svn.erp5.org/erp5/trunk/products/ZSQLCatalog/SQLCatalog.py?rev=29591&r1=29590&r2=29591&view=diff
==============================================================================
--- erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] (original)
+++ erp5/trunk/products/ZSQLCatalog/SQLCatalog.py [utf8] Tue Oct 13 14:27:39 2009
@@ -1464,7 +1464,7 @@
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:
More information about the Erp5-report
mailing list