mirror of
https://github.com/blender/blender
synced 2026-09-29 04:37:17 +03:00
Cleanup: quiet Python linter warnings
This commit is contained in:
parent
560b6e2831
commit
a7bc3e3418
25 changed files with 49 additions and 38 deletions
|
|
@ -99,7 +99,7 @@ _node_categories = {}
|
|||
def register_node_categories(identifier, cat_list):
|
||||
if identifier in _node_categories:
|
||||
raise KeyError("Node categories list '{:s}' already registered".format(identifier))
|
||||
return
|
||||
# return
|
||||
|
||||
# works as draw function for menus
|
||||
def draw_node_item(self, context):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue