]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
bb.exceptions: don't show a repr of 'self'
authorChris Larson <chris_larson@mentor.com>
Sat, 14 May 2011 00:35:37 +0000 (17:35 -0700)
committerChris Larson <chris_larson@mentor.com>
Mon, 16 May 2011 19:39:42 +0000 (12:39 -0700)
commitdbf405f1f7fda41944093906c13044c6cf78f859
tree97868e62c8765f4a59dee0dfdae915ef2c21cb64
parent0db267b94850053d02469d51d840d60ef96b6a43
bb.exceptions: don't show a repr of 'self'

Rather than treating self like an ordinary argument, showing a repr of its
value in the function spec when formatting the traceback entry, now we show
the class name for the method as a part of the function name. Example:

Old: bar(self=<some repr of Fooclass>, f=5)
New: Fooclass.bar(f=5)

Signed-off-by: Chris Larson <chris_larson@mentor.com>
lib/bb/exceptions.py