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>2015-01-23 04:37:58 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-23 04:37:58 +0300
commit3e8c0027a374e963e6e7e66f8a0e475af05b9943 (patch)
treebe756d2300a07fb46edc78c7225c6601dde299f2 /release/scripts/startup/bl_operators/anim.py
parent6a6e4a9d47fc70f2744aa499a1fed47c8d0718d2 (diff)
Cleanup: replace deprecated imp -> importlib
Diffstat (limited to 'release/scripts/startup/bl_operators/anim.py')
-rw-r--r--release/scripts/startup/bl_operators/anim.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/anim.py b/release/scripts/startup/bl_operators/anim.py
index 756b75b8d03..39bb7e90948 100644
--- a/release/scripts/startup/bl_operators/anim.py
+++ b/release/scripts/startup/bl_operators/anim.py
@@ -19,9 +19,10 @@
# <pep8-80 compliant>
if "bpy" in locals():
- import imp
+ from importlib import reload
if "anim_utils" in locals():
- imp.reload(anim_utils)
+ reload(anim_utils)
+ del reload
import bpy