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_scene_vrml2/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'io_scene_vrml2') diff --git a/io_scene_vrml2/__init__.py b/io_scene_vrml2/__init__.py index e16ae73f..594833c7 100644 --- a/io_scene_vrml2/__init__.py +++ b/io_scene_vrml2/__init__.py @@ -31,9 +31,9 @@ bl_info = { "category": "Import-Export"} if "bpy" in locals(): - import imp + import importlib if "export_vrml2" in locals(): - imp.reload(export_vrml2) + importlib.reload(export_vrml2) import os -- cgit v1.2.3