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 /light_field_tools | |
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 'light_field_tools')
-rw-r--r-- | light_field_tools/__init__.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/light_field_tools/__init__.py b/light_field_tools/__init__.py index 54e56fe6..f1899b2d 100644 --- a/light_field_tools/__init__.py +++ b/light_field_tools/__init__.py @@ -32,8 +32,8 @@ bl_info = { if "bpy" in locals(): - import imp - imp.reload(light_field_tools) + import importlib + importlib.reload(light_field_tools) else: from . import light_field_tools |