From 734e4c2343980ea877e1420e45e3dd87fe03d9e1 Mon Sep 17 00:00:00 2001
From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Thu, 16 Oct 2008 20:01:54 -0700
Subject: [PATCH] fuse/runtest: make removal of webport file soft

previously the runtests suite removed the webport file created by
tahoe create-client in all but the first node.  now that the node config
is in tahoe.cfg by default this file might not exist.
---
 contrib/fuse/runtests.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/contrib/fuse/runtests.py b/contrib/fuse/runtests.py
index 23de5cfc..591b9248 100644
--- a/contrib/fuse/runtests.py
+++ b/contrib/fuse/runtests.py
@@ -291,7 +291,8 @@ class SystemTest (object):
             self.weburl = "http://127.0.0.1:%d/" % (self.port,)
             print self.weburl
         else:
-            os.remove(webportpath)
+            if os.path.exists(webportpath):
+                os.remove(webportpath)
 
         introfurl = os.path.join(introbase, 'introducer.furl')
 
-- 
2.45.2