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:
authorCampbell Barton <ideasman42@gmail.com>2010-12-23 00:41:21 +0300
committerCampbell Barton <ideasman42@gmail.com>2010-12-23 00:41:21 +0300
commit1efbaf92ae58278c0b5675b35f3a0970265cb895 (patch)
tree3112322307935c6be5f2020810e1b68cbcabefc0 /rigify/utils.py
parentd6026d486e5b8349f513774e7e9ebadbfe029091 (diff)
use imp.reload() rather then reload().
Diffstat (limited to 'rigify/utils.py')
-rw-r--r--rigify/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/rigify/utils.py b/rigify/utils.py
index 33170ec2..84d4c4f1 100644
--- a/rigify/utils.py
+++ b/rigify/utils.py
@@ -17,7 +17,7 @@
#======================= END GPL LICENSE BLOCK ========================
import bpy
-from imp import reload
+import imp
from random import randint
from mathutils import Vector
from math import ceil, floor
@@ -355,7 +355,7 @@ def get_rig_type(rig_type):
"""
#print("%s.%s.%s" % (__package__,RIG_DIR,rig_type))
submod = __import__(name="%s.%s.%s" % (MODULE_NAME, RIG_DIR, rig_type), fromlist=[rig_type])
- reload(submod)
+ imp.reload(submod)
return submod