From: robk-tahoe Date: Fri, 17 Oct 2008 03:01:54 +0000 (-0700) Subject: fuse/runtest: make removal of webport file soft X-Git-Url: https://git.rkrishnan.org/uri/%3C?a=commitdiff_plain;h=734e4c2343980ea877e1420e45e3dd87fe03d9e1;p=tahoe-lafs%2Ftahoe-lafs.git 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. --- 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')