Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSybren A. Stvel <sybren@stuvel.eu>2015-01-22 09:05:39 +0300
committerCampbell Barton <ideasman42@gmail.com>2015-01-22 09:05:39 +0300
commitd47e9be4fb204988ec659fc59882b2f5964afa3f (patch)
tree65bcb61c102f345e318704fdb57330c1584b5837 /system_demo_mode
parent4741a42e5d04c220ff782989a2ad87f1f1bffd65 (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 'system_demo_mode')
-rw-r--r--system_demo_mode/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/system_demo_mode/__init__.py b/system_demo_mode/__init__.py
index 103c4af8..60a343fc 100644
--- a/system_demo_mode/__init__.py
+++ b/system_demo_mode/__init__.py
@@ -32,9 +32,9 @@ bl_info = {
# To support reload properly, try to access a package var, if it's there, reload everything
if "bpy" in locals():
- import imp
+ import importlib
if "config" in locals():
- imp.reload(config)
+ importlib.reload(config)
import bpy