[ZPT] CVS: Packages/TAL - utils.py:1.3

fred@digicool.com fred@digicool.com
Tue, 20 Mar 2001 18:32:25 -0500 (EST)


Update of /cvs-repository/Packages/TAL/test
In directory korak:/tmp/cvs-serv14658

Modified Files:
	utils.py 
Log Message:

Simplify the path math used to make sure we can pick up unittest.



--- Updated File utils.py in package Packages/TAL --
--- utils.py	2001/03/20 03:23:06	1.2
+++ utils.py	2001/03/20 23:32:24	1.3
@@ -3,7 +3,7 @@
 import os
 import sys
 
-mydir = os.path.abspath(os.path.join(os.getcwd(), os.path.dirname(__file__)))
+mydir = os.path.abspath(os.path.dirname(__file__))
 codedir = os.path.dirname(os.path.dirname(mydir))
 
 if codedir not in sys.path: