fixed bug of non-normalized path under Windows, that broke the reload mechanism stable
authoregazoni
Fri, 07 May 2010 15:03:03 +0200
branchstable
changeset 5499 2a5cc708c2a0
parent 5497 96fd339f7917
child 5500 55a40cc0ab9a
fixed bug of non-normalized path under Windows, that broke the reload mechanism
bin/cubicweb-ctl.bat
--- a/bin/cubicweb-ctl.bat	Thu May 06 16:23:39 2010 +0000
+++ b/bin/cubicweb-ctl.bat	Fri May 07 15:03:03 2010 +0200
@@ -8,8 +8,8 @@
 """
 # -------------------- Python section --------------------
 import sys
-from os.path import join, dirname
-sys.path.insert(0, join(dirname(__file__), '..', '..'))
+from os.path import join, dirname, normpath
+sys.path.insert(0, normpath(join(dirname(__file__), '..', '..')))
 from cubicweb.cwctl import run
 run(sys.argv[1:])