projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e679d48
)
fuse/runtest: make removal of webport file soft
author
robk-tahoe
<robk-tahoe@allmydata.com>
Fri, 17 Oct 2008 03:01:54 +0000
(20:01 -0700)
committer
robk-tahoe
<robk-tahoe@allmydata.com>
Fri, 17 Oct 2008 03:01:54 +0000
(20:01 -0700)
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
patch
|
blob
|
history
diff --git
a/contrib/fuse/runtests.py
b/contrib/fuse/runtests.py
index 23de5cfc770c7c3a80f9e4175f71f28c4896f8ee..591b924817ef744e32d4ad77c25f0674681c563d 100644
(file)
--- 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')