[Epydoc-commits] SF.net SVN: epydoc: [1317] trunk/epydoc/src/epydoc/cli.py
Brought to you by:
edloper
From: <ed...@us...> - 2006-08-24 07:01:27
|
Revision: 1317 Author: edloper Date: 2006-08-24 00:01:22 -0700 (Thu, 24 Aug 2006) ViewCVS: http://svn.sourceforge.net/epydoc/?rev=1317&view=rev Log Message: ----------- - Fixing profiling bug, take 2. Modified Paths: -------------- trunk/epydoc/src/epydoc/cli.py Modified: trunk/epydoc/src/epydoc/cli.py =================================================================== --- trunk/epydoc/src/epydoc/cli.py 2006-08-24 06:51:22 UTC (rev 1316) +++ trunk/epydoc/src/epydoc/cli.py 2006-08-24 07:01:22 UTC (rev 1317) @@ -683,8 +683,10 @@ # present, and if so, fix it. (Bug was fixed in 2.4maint: # <http://mail.python.org/pipermail/python-checkins/ # 2005-September/047099.html>) - if Profile.dispatch['c_exception'] is Profile.trace_dispatch_exception: - Profile.dispatch['c_exception'] = Profile.trace_dispatch_return + if (Profile.dispatch['c_exception'] is + Profile.trace_dispatch_exception.im_func): + trace_dispatch_return = Profile.trace_dispatch_return.im_func + Profile.dispatch['c_exception'] = trace_dispatch_return try: prof = Profile() prof = prof.runctx('main(*parse_arguments())', globals(), {}) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |