[Bf-extensions-cvs] [097c55a] temp-blend-utils: remove module path manipulation

Campbell Barton noreply at git.blender.org
Fri Jan 29 05:53:33 CET 2016


Commit: 097c55a0745c15610bd05d2fa66c03709de75dd2
Author: Campbell Barton
Date:   Fri Jan 29 15:45:51 2016 +1100
Branches: temp-blend-utils
https://developer.blender.org/rBA097c55a0745c15610bd05d2fa66c03709de75dd2

remove module path manipulation

===================================================================

M	io_blend_utils/blendfile_pack.py

===================================================================

diff --git a/io_blend_utils/blendfile_pack.py b/io_blend_utils/blendfile_pack.py
index bd3ba18..c34fabb 100755
--- a/io_blend_utils/blendfile_pack.py
+++ b/io_blend_utils/blendfile_pack.py
@@ -22,16 +22,6 @@ from blend import blendfile_path_walker
 
 TIMEIT = False
 
-# ------------------
-# Ensure module path
-import os
-import sys
-path = os.path.normpath(os.path.join(os.path.dirname(os.path.abspath(__file__)), "..", "modules"))
-if path not in sys.path:
-    sys.path.append(path)
-del os, sys, path
-# --------
-
 
 # ----------------------
 # debug low level output



More information about the Bf-extensions-cvs mailing list