Add Draft workbench to .pre-commit-config (#24664)
* Add Draft workbench to .pre-commit-config * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --------- Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
This commit is contained in:
@@ -56,10 +56,12 @@ def _log(text, end="\n"):
|
||||
"""Write messages to the log file including the line ending."""
|
||||
App.Console.PrintLog(text + end)
|
||||
|
||||
|
||||
def _toolmsg(text, end="\n"):
|
||||
"""Write messages to the console including the line ending,
|
||||
only if ToolMessages pref setting is True"""
|
||||
if params.get_param("ToolMessages"):
|
||||
App.Console.PrintMessage(text + end)
|
||||
|
||||
|
||||
## @}
|
||||
|
||||
Reference in New Issue
Block a user