Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2019-05-09 02:15:01 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-05-09 05:42:05 +0300
commitfc37238b17ed1a8c80bf5eaf849ab3fc4af59069 (patch)
tree36f1e64753753f43ee95bc3da126beb955469e85 /release/scripts/startup/bl_operators/image.py
parentbc39fa947a821f1114fb5594dcd22958f7958df9 (diff)
Cleanup: unused args/vars/imports in bl_operators
Diffstat (limited to 'release/scripts/startup/bl_operators/image.py')
-rw-r--r--release/scripts/startup/bl_operators/image.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/release/scripts/startup/bl_operators/image.py b/release/scripts/startup/bl_operators/image.py
index d07546d1773..4f0b574ced9 100644
--- a/release/scripts/startup/bl_operators/image.py
+++ b/release/scripts/startup/bl_operators/image.py
@@ -89,7 +89,7 @@ class EditExternally(Operator):
return {'FINISHED'}
- def invoke(self, context, event):
+ def invoke(self, context, _event):
import os
sd = context.space_data
try:
@@ -121,7 +121,7 @@ class SaveDirty(Operator):
bl_label = "Save Dirty"
bl_options = {'REGISTER', 'UNDO'}
- def execute(self, context):
+ def execute(self, _context):
unique_paths = set()
for image in bpy.data.images:
if image.is_dirty:
@@ -227,7 +227,7 @@ class ProjectApply(Operator):
bl_label = "Project Apply"
bl_options = {'REGISTER'}
- def execute(self, context):
+ def execute(self, _context):
image_name = ProjectEdit._proj_hack[0] # TODO, deal with this nicer
try: