From d47e9be4fb204988ec659fc59882b2f5964afa3f Mon Sep 17 00:00:00 2001 From: "Sybren A. Stvel" Date: Thu, 22 Jan 2015 17:05:39 +1100 Subject: 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 --- io_mesh_raw/__init__.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'io_mesh_raw/__init__.py') diff --git a/io_mesh_raw/__init__.py b/io_mesh_raw/__init__.py index 4a5ece92..69640932 100644 --- a/io_mesh_raw/__init__.py +++ b/io_mesh_raw/__init__.py @@ -33,11 +33,11 @@ bl_info = { } if "bpy" in locals(): - import imp + import importlib if "import_raw" in locals(): - imp.reload(import_raw) + importlib.reload(import_raw) if "export_raw" in locals(): - imp.reload(export_raw) + importlib.reload(export_raw) else: import bpy -- cgit v1.2.3