Update of /cvsroot/tmda/tmda/TMDA
In directory usw-pr-cvs1:/tmp/cvs-serv32468/TMDA
Modified Files:
Util.py
Log Message:
Set tempfile.tmpdir to the same directory as where we
are doing the cdbmake to be extra safe.
Index: Util.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Util.py,v
retrieving revision 1.73
retrieving revision 1.74
diff -u -r1.73 -r1.74
--- Util.py 10 Nov 2002 23:21:08 -0000 1.73
+++ Util.py 10 Nov 2002 23:44:20 -0000 1.74
@@ -452,6 +452,7 @@
import cdb
try:
cdbname = filename + '.cdb'
+ tempfile.tempdir = os.path.dirname(filename)
tmpname = os.path.split(tempfile.mktemp())[1]
cdb = cdb.cdbmake(cdbname, cdbname + '.' + tmpname)
for line in file_to_list(filename):
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs