From 6ac444f587fb7dec641739c28fad8d3f4dd5ae21 Mon Sep 17 00:00:00 2001 From: Thomas Pointhuber Date: Wed, 10 Oct 2018 11:24:45 +0200 Subject: [PATCH] Fix style issue --- pcbnew/swig/python_scripting.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pcbnew/swig/python_scripting.cpp b/pcbnew/swig/python_scripting.cpp index 440821e247..a8252961c0 100644 --- a/pcbnew/swig/python_scripting.cpp +++ b/pcbnew/swig/python_scripting.cpp @@ -453,14 +453,14 @@ wxString PyErrStringWithTraceback() PyErr_Fetch( &type, &value, &traceback ); - PyErr_NormalizeException( &type, &value, &traceback); - if (traceback == NULL) { + PyErr_NormalizeException( &type, &value, &traceback ); + if ( traceback == NULL ) { traceback = Py_None; Py_INCREF( traceback ); } #if PY_MAJOR_VERSION >= 3 - PyException_SetTraceback(value, traceback); + PyException_SetTraceback( value, traceback ); PyObject* tracebackModuleString = PyUnicode_FromString( "traceback" ); #else