Core: [skip ci] ignore some code spell checks and filter all '_rc_.py' files

This commit is contained in:
wmayer
2022-12-05 10:12:49 +01:00
parent 7bd3d1b5df
commit 1a56033e74
5 changed files with 11 additions and 8 deletions

View File

@@ -229,8 +229,8 @@ PyObject* TypePy::createInstanceByName (PyObject *args)
if (!PyArg_ParseTuple(args, "s|O!", &name, &PyBool_Type, &load))
return nullptr;
bool bLoad = Base::asBoolean(load);
Base::Type type = Base::Type::getTypeIfDerivedFrom(name, Base::BaseClass::getClassTypeId(), bLoad);
bool loadModule = Base::asBoolean(load);
Base::Type type = Base::Type::getTypeIfDerivedFrom(name, Base::BaseClass::getClassTypeId(), loadModule);
if (type.isBad())
Py_Return;