Trivial code formatting for some {.cpp,.h} files

This commit is contained in:
luz.paz
2020-04-03 12:30:58 -04:00
committed by Yorik van Havre
parent a45738c629
commit d36c3ebe57
14 changed files with 95 additions and 94 deletions

View File

@@ -82,7 +82,7 @@ PyException::PyException(void)
_exceptionType = PP_last_exception_type;
if(PP_last_exception_type) {
if (PP_last_exception_type) {
// WARNING: we are assuming that python type object will never be
// destroyed, so we don't keep reference here to save book-keeping in
// our copy constructor and destructor
@@ -123,7 +123,7 @@ void PyException::raiseException() {
if (_exceptionType == Base::BaseExceptionFreeCADAbort)
edict.setItem("sclassname",
Py::String(typeid(Base::AbortException).name()));
if(_isReported)
if (_isReported)
edict.setItem("breported", Py::True());
Base::ExceptionFactory::Instance().raiseException(edict.ptr());
}