[Buildbot-commits] buildbot/contrib arch_buildbot.py,1.4,1.5

Brian Warner warner at users.sourceforge.net
Wed May 4 05:31:12 UTC 2005


Update of /cvsroot/buildbot/buildbot/contrib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7439/contrib

Modified Files:
	arch_buildbot.py 
Log Message:
Revision: arch at buildbot.sf.net--2004/buildbot--dev--0--patch-129
Creator:  Brian Warner <warner at monolith.lothar.com>

arch_buildbot.py: don't unlink files that don't exist


Index: arch_buildbot.py
===================================================================
RCS file: /cvsroot/buildbot/buildbot/contrib/arch_buildbot.py,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- arch_buildbot.py	4 May 2005 05:01:17 -0000	1.4
+++ arch_buildbot.py	4 May 2005 05:31:10 -0000	1.5
@@ -67,5 +67,7 @@
          'revision': revision, 'comments': comments, 'files': files}
     runner.sendchange(c, True)
 
-    os.unlink(filelist)
-    os.unlink(commentfile)
+    if os.path.exists(filelist):
+        os.unlink(filelist)
+    if os.path.exists(commentfile):
+        os.unlink(commentfile)





More information about the Commits mailing list