Console: rename PascalCase named methods to camelCase
This commit is contained in:
@@ -44,7 +44,7 @@ PyMOD_INIT_FUNC(Drawing)
|
||||
PyMOD_Return(nullptr);
|
||||
}
|
||||
PyObject* mod = Drawing::initModule();
|
||||
Base::Console().Log("Loading Drawing module... done\n");
|
||||
Base::Console().log("Loading Drawing module... done\n");
|
||||
|
||||
|
||||
// NOTE: To finish the initialization of our own type objects we must
|
||||
|
||||
@@ -123,7 +123,7 @@ private:
|
||||
else {
|
||||
str += "No OCCT Exception Message";
|
||||
}
|
||||
Base::Console().Error("%s\n", str.c_str());
|
||||
Base::Console().error("%s\n", str.c_str());
|
||||
throw Py::Exception(Part::PartExceptionOCCError, str);
|
||||
}
|
||||
catch (const Base::Exception& e) {
|
||||
@@ -139,7 +139,7 @@ private:
|
||||
str += "C++ exception thrown (";
|
||||
str += e.what();
|
||||
str += ")";
|
||||
Base::Console().Error("%s\n", str.c_str());
|
||||
Base::Console().error("%s\n", str.c_str());
|
||||
throw Py::RuntimeError(str);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -149,7 +149,7 @@ App::DocumentObjectExecReturn* FeaturePage::execute(void)
|
||||
fi.setFile(App::Application::getResourceDir() + "Mod/Drawing/Templates/" + fi.fileName());
|
||||
// try the redirect
|
||||
if (!fi.isReadable()) {
|
||||
Base::Console().Log("FeaturePage::execute() not able to open %s!\n",
|
||||
Base::Console().log("FeaturePage::execute() not able to open %s!\n",
|
||||
Template.getValue());
|
||||
std::string error = std::string("Cannot open file ") + Template.getValue();
|
||||
return new App::DocumentObjectExecReturn(error);
|
||||
|
||||
@@ -58,7 +58,7 @@ PyMOD_INIT_FUNC(DrawingGui)
|
||||
}
|
||||
|
||||
PyObject* mod = DrawingGui::initModule();
|
||||
Base::Console().Log("Loading GUI of Drawing module... done\n");
|
||||
Base::Console().log("Loading GUI of Drawing module... done\n");
|
||||
|
||||
// instantiating the commands
|
||||
CreateDrawingCommands();
|
||||
|
||||
Reference in New Issue
Block a user