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 /io_mesh_uv_layout | |
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 'io_mesh_uv_layout')
-rw-r--r-- | io_mesh_uv_layout/__init__.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/io_mesh_uv_layout/__init__.py b/io_mesh_uv_layout/__init__.py index 2460d26d..accf6755 100644 --- a/io_mesh_uv_layout/__init__.py +++ b/io_mesh_uv_layout/__init__.py @@ -36,13 +36,13 @@ bl_info = { # @todo write the wiki page if "bpy" in locals(): - import imp + import importlib if "export_uv_eps" in locals(): - imp.reload(export_uv_eps) + importlib.reload(export_uv_eps) if "export_uv_png" in locals(): - imp.reload(export_uv_png) + importlib.reload(export_uv_png) if "export_uv_svg" in locals(): - imp.reload(export_uv_svg) + importlib.reload(export_uv_svg) import bpy |