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 --- render_copy_settings/__init__.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'render_copy_settings') diff --git a/render_copy_settings/__init__.py b/render_copy_settings/__init__.py index 7e675110..7ca39844 100644 --- a/render_copy_settings/__init__.py +++ b/render_copy_settings/__init__.py @@ -33,10 +33,10 @@ bl_info = { if "bpy" in locals(): - import imp - imp.reload(operator) - imp.reload(panel) - imp.reload(translations) + import importlib + importlib.reload(operator) + importlib.reload(panel) + importlib.reload(translations) else: from . import operator, panel, translations -- cgit v1.2.3