Commit 2d3f0b84 authored by Nicolas Dumazet's avatar Nicolas Dumazet

show class name for easier debugging


git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@41148 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent e50ba3b3
......@@ -1949,7 +1949,10 @@ class Base( CopyContainer,
Returns the dictionnary of the object
Only for debugging
"""
return copy(self.__dict__)
d = copy(self.__dict__)
klass = self.__class__
d['__class__'] = '%s.%s' % (klass.__module__, klass.__name__)
return d
security.declareProtected( Permissions.ManagePortal, 'showPermissions' )
def showPermissions(self, all=1):
......
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