diff options
author | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 04:37:58 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-23 04:37:58 +0300 |
commit | 3e8c0027a374e963e6e7e66f8a0e475af05b9943 (patch) | |
tree | be756d2300a07fb46edc78c7225c6601dde299f2 /release/scripts/startup/bl_operators/__init__.py | |
parent | 6a6e4a9d47fc70f2744aa499a1fed47c8d0718d2 (diff) |
Cleanup: replace deprecated imp -> importlib
Diffstat (limited to 'release/scripts/startup/bl_operators/__init__.py')
-rw-r--r-- | release/scripts/startup/bl_operators/__init__.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_operators/__init__.py b/release/scripts/startup/bl_operators/__init__.py index e44fce63acd..65f7bde1809 100644 --- a/release/scripts/startup/bl_operators/__init__.py +++ b/release/scripts/startup/bl_operators/__init__.py @@ -19,9 +19,10 @@ # <pep8 compliant> if "bpy" in locals(): - from imp import reload as _reload + from importlib import reload for val in _modules_loaded.values(): - _reload(val) + reload(val) + del reload _modules = [ "add_mesh_torus", "anim", |