diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 08:21:51 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-03-23 08:21:51 +0300 |
commit | 70d2456ff19f80bbc09467428992ffd6091e91c4 (patch) | |
tree | fca5ee93f17e5d398bf0025639e8cbb64d9f269a /release/scripts/startup/bl_operators | |
parent | bb78f38bd1328b8cfe6b4e912e8bb0371035854a (diff) |
Cleanup: unused variables, imports
Diffstat (limited to 'release/scripts/startup/bl_operators')
-rw-r--r-- | release/scripts/startup/bl_operators/anim.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/assets.py | 1 | ||||
-rw-r--r-- | release/scripts/startup/bl_operators/spreadsheet.py | 1 |
3 files changed, 1 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py index 0b6b92cfd7e..8ec9bececc5 100644 --- a/release/scripts/startup/bl_operators/anim.py +++ b/release/scripts/startup/bl_operators/anim.py @@ -438,7 +438,7 @@ class ANIM_OT_show_group_colors_deprecated(Operator): bl_options = {'REGISTER'} @classmethod - def poll(cls, context): + def poll(cls, _context): return False diff --git a/release/scripts/startup/bl_operators/assets.py b/release/scripts/startup/bl_operators/assets.py index 315e0dabbf4..48f07a03773 100644 --- a/release/scripts/startup/bl_operators/assets.py +++ b/release/scripts/startup/bl_operators/assets.py @@ -19,7 +19,6 @@ # <pep8 compliant> from __future__ import annotations -import bpy from bpy.types import Operator from bpy_extras.asset_utils import ( diff --git a/release/scripts/startup/bl_operators/spreadsheet.py b/release/scripts/startup/bl_operators/spreadsheet.py index 2a194fd4627..91fca883bb5 100644 --- a/release/scripts/startup/bl_operators/spreadsheet.py +++ b/release/scripts/startup/bl_operators/spreadsheet.py @@ -18,7 +18,6 @@ from __future__ import annotations -import bpy from bpy.types import Operator class SPREADSHEET_OT_toggle_pin(Operator): |