diff options
author | Sybren A. Stvel <sybren@stuvel.eu> | 2015-01-22 09:05:39 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2015-01-22 09:05:39 +0300 |
commit | d47e9be4fb204988ec659fc59882b2f5964afa3f (patch) | |
tree | 65bcb61c102f345e318704fdb57330c1584b5837 /rigify/__init__.py | |
parent | 4741a42e5d04c220ff782989a2ad87f1f1bffd65 (diff) |
Fix: replaced Python module "imp" with "implib"
Python 3.4.0 deprecated the "imp" module, and replaced it with
"importlib". This changes imp.reload() into implib.reload().
Reviewers: campbellbarton
Differential Revision: https://developer.blender.org/D1016
Diffstat (limited to 'rigify/__init__.py')
-rw-r--r-- | rigify/__init__.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/rigify/__init__.py b/rigify/__init__.py index 2d968422..6e6f751c 100644 --- a/rigify/__init__.py +++ b/rigify/__init__.py @@ -32,12 +32,12 @@ bl_info = { if "bpy" in locals(): - import imp - imp.reload(generate) - imp.reload(ui) - imp.reload(utils) - imp.reload(metarig_menu) - imp.reload(rig_lists) + import importlib + importlib.reload(generate) + importlib.reload(ui) + importlib.reload(utils) + importlib.reload(metarig_menu) + importlib.reload(rig_lists) else: from . import utils, rig_lists, generate, ui, metarig_menu |