Console: rename PascalCase named methods to camelCase

This commit is contained in:
bofdahof
2025-03-30 00:50:27 +10:00
committed by Kacper Donat
parent d4ecf95ca5
commit 998f4e4d45
497 changed files with 2423 additions and 2425 deletions

View File

@@ -301,16 +301,16 @@ PyObject* AttachEnginePy::getModeInfo(PyObject* args)
} catch (Py::Exception& e) {
if (PyErr_ExceptionMatches(PyExc_ImportError)) {
// the GUI is not up.
Base::Console().Warning("AttachEngine: Gui not up, so no gui-related entries in getModeInfo.\n");
Base::Console().warning("AttachEngine: Gui not up, so no gui-related entries in getModeInfo.\n");
e.clear();
} else {
Base::Console().Warning("AttachEngine.getModeInfo: error obtaining GUI strings\n");
Base::Console().warning("AttachEngine.getModeInfo: error obtaining GUI strings\n");
e.clear();
}
} catch (Base::Exception &e){
Base::Console().Warning("AttachEngine.getModeInfo: error obtaining GUI strings:");
Base::Console().Warning(e.what());
Base::Console().Warning("\n");
Base::Console().warning("AttachEngine.getModeInfo: error obtaining GUI strings:");
Base::Console().warning(e.what());
Base::Console().warning("\n");
}
return Py::new_reference_to(ret);
@@ -384,16 +384,16 @@ PyObject* AttachEnginePy::getRefTypeInfo(PyObject* args)
} catch (Py::Exception& e) {
if (PyErr_ExceptionMatches(PyExc_ImportError)) {
// the GUI is not up.
Base::Console().Warning("AttachEngine: Gui not up, so no gui-related entries in getModeInfo.\n");
Base::Console().warning("AttachEngine: Gui not up, so no gui-related entries in getModeInfo.\n");
e.clear();
} else {
Base::Console().Warning("AttachEngine.getRefTypeInfo: error obtaining GUI strings\n");
Base::Console().warning("AttachEngine.getRefTypeInfo: error obtaining GUI strings\n");
e.clear();
}
} catch (Base::Exception &e){
Base::Console().Warning("AttachEngine.getRefTypeInfo: error obtaining GUI strings:");
Base::Console().Warning(e.what());
Base::Console().Warning("\n");
Base::Console().warning("AttachEngine.getRefTypeInfo: error obtaining GUI strings:");
Base::Console().warning(e.what());
Base::Console().warning("\n");
}
return Py::new_reference_to(ret);