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-03-17 13:13:25 +0300
committerCampbell Barton <ideasman42@gmail.com>2019-03-17 13:14:43 +0300
commit69bf4e5e36754afbd3a42778e12613b77ae98023 (patch)
tree0df83b1927037bf711881dbfb6ff6e95a901c511 /release/scripts/modules/bpy/utils/__init__.py
parentad9addbf460f6053b8037a09ec9752d653269561 (diff)
Cleanup: unused variables
Diffstat (limited to 'release/scripts/modules/bpy/utils/__init__.py')
-rw-r--r--release/scripts/modules/bpy/utils/__init__.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/release/scripts/modules/bpy/utils/__init__.py b/release/scripts/modules/bpy/utils/__init__.py
index 81b62b59fa6..7d4909fc7bc 100644
--- a/release/scripts/modules/bpy/utils/__init__.py
+++ b/release/scripts/modules/bpy/utils/__init__.py
@@ -137,7 +137,7 @@ def modules_from_path(path, loaded_modules):
"""
modules = []
- for mod_name, mod_path in _bpy.path.module_names(path):
+ for mod_name, _mod_path in _bpy.path.module_names(path):
mod = _test_import(mod_name, loaded_modules)
if mod:
modules.append(mod)
@@ -868,7 +868,6 @@ def unregister_tool(tool_cls):
del tool_list[-1]
while tool_list and tool_list[0] is None:
del tool_list[0]
- is_none_prev = False
# Remove duplicate separators.
for i in range(len(tool_list) - 1, -1, -1):
is_none = tool_list[i] is None