diff options
author | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 08:32:24 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2019-04-19 08:32:24 +0300 |
commit | 5b0f0421ef1d841d7389b504057dbf76998007c7 (patch) | |
tree | 01fd941322922ad06a24b7179b52c66ac3a4d2ad /release/scripts/startup/bl_ui/space_filebrowser.py | |
parent | 9573bf432c4b06d940b4b38cc455826f47518884 (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.py | 4 |
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") |