dabo Commit
Revision 3088
Date: 2007-04-26 03:56:57 -0700 (Thu, 26 Apr 2007)
Author: Ed
Trac: http://svn.dabodev.com/trac/dabo/changeset/3088

Changed:
U   trunk/dabo/dApp.py

Log:
Changed the temp file removal so that if the temp file no longer exists, a 
warning message is not printed, since the goal is delete it anyway.


Diff:
Modified: trunk/dabo/dApp.py
===================================================================
--- trunk/dabo/dApp.py  2007-04-25 20:25:30 UTC (rev 3087)
+++ trunk/dabo/dApp.py  2007-04-26 10:56:57 UTC (rev 3088)
@@ -58,7 +58,8 @@
                try:
                        import os
                        for f in self._tempFiles:
-                               os.remove(f)
+                               if not os.path.exists(f):
+                                       continue
                                try:
                                        os.remove(f)
                                except OSError, e:





_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]

Reply via email to