Fix style issue

This commit is contained in:
Thomas Pointhuber 2018-10-10 11:24:45 +02:00 committed by Maciej Suminski
parent 9eff4e999f
commit 6ac444f587
1 changed files with 3 additions and 3 deletions

View File

@ -453,14 +453,14 @@ wxString PyErrStringWithTraceback()
PyErr_Fetch( &type, &value, &traceback ); PyErr_Fetch( &type, &value, &traceback );
PyErr_NormalizeException( &type, &value, &traceback); PyErr_NormalizeException( &type, &value, &traceback );
if (traceback == NULL) { if ( traceback == NULL ) {
traceback = Py_None; traceback = Py_None;
Py_INCREF( traceback ); Py_INCREF( traceback );
} }
#if PY_MAJOR_VERSION >= 3 #if PY_MAJOR_VERSION >= 3
PyException_SetTraceback(value, traceback); PyException_SetTraceback( value, traceback );
PyObject* tracebackModuleString = PyUnicode_FromString( "traceback" ); PyObject* tracebackModuleString = PyUnicode_FromString( "traceback" );
#else #else