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-04-19 08:32:24 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-04-19 08:32:24 +0300
commit5b0f0421ef1d841d7389b504057dbf76998007c7 (patch)
tree01fd941322922ad06a24b7179b52c66ac3a4d2ad /release/scripts/startup/bl_ui/space_filebrowser.py
parent9573bf432c4b06d940b4b38cc455826f47518884 (diff)
Cleanup: mark unused arguments in UI scripts
Quiet's pylint W0613 warning, also remove some unused args.
Diffstat (limited to 'release/scripts/startup/bl_ui/space_filebrowser.py')
-rw-r--r--release/scripts/startup/bl_ui/space_filebrowser.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_filebrowser.py b/release/scripts/startup/bl_ui/space_filebrowser.py
index 5ab4dbfd16b..b3e7ca62ed1 100644
--- a/release/scripts/startup/bl_ui/space_filebrowser.py
+++ b/release/scripts/startup/bl_ui/space_filebrowser.py
@@ -89,7 +89,7 @@ class FILEBROWSER_HT_header(Header):
class FILEBROWSER_UL_dir(UIList):
- def draw_item(self, context, layout, data, item, icon, active_data, active_propname, index):
+ def draw_item(self, _context, layout, _data, item, icon, _active_data, active_propname, _index):
direntry = item
# space = context.space_data
icon = 'NONE'
@@ -155,7 +155,7 @@ class FILEBROWSER_PT_system_bookmarks(Panel):
class FILEBROWSER_MT_bookmarks_context_menu(Menu):
bl_label = "Bookmarks Specials"
- def draw(self, context):
+ def draw(self, _context):
layout = self.layout
layout.operator("file.bookmark_cleanup", icon='X', text="Cleanup")