[Modeling-cvs] NotificationFramework/tests utils.py,1.2,1.3
Status: Abandoned
Brought to you by:
sbigaret
From: <sbi...@us...> - 2003-05-25 18:55:39
|
Update of /cvsroot/modeling/NotificationFramework/tests In directory sc8-pr-cvs1:/tmp/cvs-serv25725/tests Modified Files: utils.py Log Message: Fixed: NF path should be inserted at the beginning of sys.path Index: utils.py =================================================================== RCS file: /cvsroot/modeling/NotificationFramework/tests/utils.py,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** utils.py 10 Jan 2003 10:45:44 -0000 1.2 --- utils.py 25 May 2003 18:55:36 -0000 1.3 *************** *** 33,41 **** codedir = os.path.dirname(os.path.dirname(mydir)) if codedir not in sys.path: ! sys.path.append(codedir) if zope_path and zope_path not in sys.path: ! sys.path.append(zope_path) - #fixpath() import unittest --- 33,40 ---- codedir = os.path.dirname(os.path.dirname(mydir)) if codedir not in sys.path: ! sys.path=[codedir]+sys.path if zope_path and zope_path not in sys.path: ! sys.path=[zope_path]+sys.path import unittest |