mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: quiet Python warnings from ruff
This commit is contained in:
parent
f3ae90ec96
commit
1cf7781596
11 changed files with 35 additions and 28 deletions
|
|
@ -33,8 +33,11 @@ class _TempModuleOverride:
|
|||
|
||||
|
||||
def add_scrollback(text, text_type):
|
||||
for l in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(text=l, type=text_type)
|
||||
for line in text.split("\n"):
|
||||
bpy.ops.console.scrollback_append(
|
||||
text=line,
|
||||
type=text_type,
|
||||
)
|
||||
|
||||
|
||||
def replace_help(namespace):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue