Cleanup: unused vars, imports

This commit is contained in:
Campbell Barton
2018-11-26 09:27:25 +11:00
parent a0cde8ed08
commit 48b0695806
6 changed files with 16 additions and 18 deletions

View File

@@ -2212,7 +2212,7 @@ class WM_OT_addon_userpref_show(Operator):
module_name = self.module
modules = addon_utils.modules(refresh=False)
_modules = addon_utils.modules(refresh=False)
mod = addon_utils.addons_fake_modules.get(module_name)
if mod is not None:
info = addon_utils.module_bl_info(mod)
@@ -2521,7 +2521,7 @@ class WM_MT_splash(Menu):
def draw_setup(self, context):
wm = context.window_manager
userpref = context.user_preferences
# userpref = context.user_preferences
layout = self.layout