From: Brian Warner Date: Sun, 3 Dec 2006 07:52:28 +0000 (-0700) Subject: make sure the StorageServer goes underneath the client's basedir X-Git-Tag: tahoe_v0.1.0-0-UNSTABLE~485 X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/provisioning?a=commitdiff_plain;h=3fe3d13d29279c531ee37cb0c52ba2f403b13deb;p=tahoe-lafs%2Ftahoe-lafs.git make sure the StorageServer goes underneath the client's basedir --- diff --git a/allmydata/client.py b/allmydata/client.py index e973788f..bc004789 100644 --- a/allmydata/client.py +++ b/allmydata/client.py @@ -1,5 +1,5 @@ -import sha +import os, sha from foolscap import Referenceable from twisted.application import service from twisted.python import log @@ -25,7 +25,7 @@ class Client(node.Node, Referenceable): self.queen = None # self.queen is either None or a RemoteReference self.all_peers = set() self.connections = {} - self.add_service(StorageServer(self.STOREDIR)) + self.add_service(StorageServer(os.path.join(basedir, self.STOREDIR))) self.add_service(Uploader()) self.queen_pburl = None self.queen_connector = None