dabo Commit
Revision 2187
Date: 2006-05-31 16:20:28 -0700 (Wed, 31 May 2006)
Author: ed

Changed:
U   trunk/dabo/dApp.py

Log:
Fixed a problem with infinite looping in the generation of temp files on 
Windows.


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2006-05-31 17:29:38 UTC (rev 2186)
+++ trunk/dabo/dApp.py  2006-05-31 23:20:28 UTC (rev 2187)
@@ -117,7 +117,7 @@
                while not fname:
                        fd, tmpname = tempfile.mkstemp(suffix=suffix)
                        os.close(fd)
-                       bad = [ch for ch in badChars if ch in tmpname]
+                       bad = [ch for ch in badChars if ch in 
os.path.split(tmpname)[1]]
                        if not bad:
                                fname = tmpname
                self.append(fname)




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev

Reply via email to