SF.net SVN: mahogany:[7585] trunk/M/src/Python/PythonHelp.cpp
[email protected] Sat, 05 Dec 2009 00:51:23 +0000
| Newsgroups | gmane.mail.mahogany.cvs |
|---|---|
| Message-ID | <[email protected]> |
Revision: 7585
http://mahogany.svn.sourceforge.net/mahogany/?rev=7585&view=rev
Author: vadz
Date: 2009-12-05 00:51:22 +0000 (Sat, 05 Dec 2009)
Log Message:
-----------
don't call PyErr_Restore() as this means the same exception will keep getting reported again and again
Modified Paths:
--------------
trunk/M/src/Python/PythonHelp.cpp
Modified: trunk/M/src/Python/PythonHelp.cpp
===================================================================
--- trunk/M/src/Python/PythonHelp.cpp 2009-12-05 00:37:13 UTC (rev 7584)
+++ trunk/M/src/Python/PythonHelp.cpp 2009-12-05 00:51:22 UTC (rev 7585)
@@ -454,9 +454,7 @@
Py_XDECREF(argsTB);
Py_XDECREF(obResult);
- /* Restore the exception state */
String errString;
- PyErr_Restore(exc_typ, exc_val, exc_tb);
if(result)
errString = result;
free(result);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
------------------------------------------------------------------------------
Join us December 9, 2009 for the Red Hat Virtual Experience,
a free event focused on virtualization and cloud computing.
Attend in-depth sessions from your desk. Your couch. Anywhere.
http://p.sf.net/sfu/redhat-sfdev2dev