[0.2.x] fixed : removed annoying stacktrace output for system exit exception

git-svn-id: https://pykd.svn.codeplex.com/svn@81689 9b283d60-5439-405e-af05-b73fd8c4d996
This commit is contained in:
SND\kernelnet_cp 2012-12-07 07:57:36 +00:00 committed by Mikhail I. Izmestev
parent d28b1fe186
commit e6dfa51810
2 changed files with 4 additions and 0 deletions

View File

@ -27,6 +27,9 @@ void printException()
PyErr_NormalizeException( &errtype, &errvalue, &traceback );
if ( errtype == PyExc_SystemExit )
return;
python::object tracebackModule = python::import("traceback");
std::wstringstream sstr;

View File

@ -95,6 +95,7 @@ private:
static int quit(void *) {
eprintln(L"CTRL+BREAK");
PyErr_SetString( PyExc_SystemExit, "" );
return -1;
}