From: Brian Warner Date: Thu, 31 Jan 2008 02:02:56 +0000 (-0700) Subject: upload: Data should use convergence by default X-Git-Url: https://git.rkrishnan.org/%5B/%5D%20/uri/frontends/install.html?a=commitdiff_plain;h=44ff4c6605a320d1e5e55397b7ad2065fe940c22;p=tahoe-lafs%2Ftahoe-lafs.git upload: Data should use convergence by default --- diff --git a/src/allmydata/upload.py b/src/allmydata/upload.py index 32d2ecc2..9837f62a 100644 --- a/src/allmydata/upload.py +++ b/src/allmydata/upload.py @@ -920,7 +920,7 @@ class FileName(FileHandle): self._filehandle.close() class Data(FileHandle): - def __init__(self, data, contenthashkey=False): + def __init__(self, data, contenthashkey=True): FileHandle.__init__(self, StringIO(data), contenthashkey=contenthashkey) class Uploader(service.MultiService):