From: robk-tahoe <robk-tahoe@allmydata.com>
Date: Tue, 8 Jan 2008 19:36:14 +0000 (-0700)
Subject: fix webish unit tests by making node.url file optional
X-Git-Tag: allmydata-tahoe-0.7.0~1
X-Git-Url: https://git.rkrishnan.org/simplejson/components/frontends/?a=commitdiff_plain;h=3a7c6882709560f45e8a866700de09f59886ccbf;p=tahoe-lafs%2Ftahoe-lafs.git

fix webish unit tests by making node.url file optional
---

diff --git a/src/allmydata/webish.py b/src/allmydata/webish.py
index aa3d0625..43daecea 100644
--- a/src/allmydata/webish.py
+++ b/src/allmydata/webish.py
@@ -1372,7 +1372,7 @@ class LocalAccess:
 class WebishServer(service.MultiService):
     name = "webish"
 
-    def __init__(self, webport, nodeurl_path):
+    def __init__(self, webport, nodeurl_path=None):
         service.MultiService.__init__(self)
         self.webport = webport
         self.root = Root()