diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 06:11:36 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-05-09 06:11:36 +0300 |
commit | 7465a5db3b9e8ad64e482f94901f597ba4549367 (patch) | |
tree | 9d2adfc77d3925c4bb5ffe9a449d5f1c1a42a3c1 /release/scripts/modules/bpy_types.py | |
parent | fc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (diff) |
Cleanup: unused args/vars/imports in modules
Diffstat (limited to 'release/scripts/modules/bpy_types.py')
-rw-r--r-- | release/scripts/modules/bpy_types.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy_types.py b/release/scripts/modules/bpy_types.py index 86fb09ffb4b..3970517a211 100644 --- a/release/scripts/modules/bpy_types.py +++ b/release/scripts/modules/bpy_types.py @@ -905,7 +905,7 @@ class Menu(StructRNA, _GenericUI, metaclass=RNAMeta): props = row.operator(add_operator, text="", icon='ADD') props.name = wm.preset_name - def draw_preset(self, context): + def draw_preset(self, _context): """ Define these on the subclass: - preset_operator (string) @@ -945,7 +945,7 @@ class Node(StructRNA, metaclass=RNAMetaPropGroup): __slots__ = () @classmethod - def poll(cls, ntree): + def poll(cls, _ntree): return True |