Commit d4c45bdd authored by Nicolas Delaby's avatar Nicolas Delaby

call __repr__ instead of __str__ on objects

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@29591 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c4f5527d
...@@ -1464,7 +1464,7 @@ class Catalog(Folder, ...@@ -1464,7 +1464,7 @@ class Catalog(Folder,
except ConflictError: except ConflictError:
raise raise
except: 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()) (arg, object), error=sys.exc_info())
value = None value = None
if not disable_cache: if not disable_cache:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment