From: Brian Warner Date: Mon, 27 Oct 2008 20:20:46 +0000 (-0700) Subject: interfaces.IMutableFileNode.download_best_version(): fix return value X-Git-Url: https://git.rkrishnan.org/components/com_hotproperty/%22doc.html/architecture.txt?a=commitdiff_plain;h=4b48d94c52424236ece5bb19452ab90229bad621;p=tahoe-lafs%2Ftahoe-lafs.git interfaces.IMutableFileNode.download_best_version(): fix return value --- diff --git a/src/allmydata/interfaces.py b/src/allmydata/interfaces.py index f6becf7b..31d19c12 100644 --- a/src/allmydata/interfaces.py +++ b/src/allmydata/interfaces.py @@ -547,11 +547,11 @@ class IMutableFileNode(IFileNode, IMutableFilesystemNode): available, then this will be the most recent version that has been uploaded. - I return a Deferred that fires with a (contents, servermap) pair. The - servermap is updated with MODE_READ. The contents will be the version - of the file indicated by servermap.best_recoverable_version(). If no - version is recoverable, the Deferred will errback with - UnrecoverableFileError. + I update an internal servermap with MODE_READ, determine which + version of the file is indicated by + servermap.best_recoverable_version(), and return a Deferred that + fires with its contents. If no version is recoverable, the Deferred + will errback with UnrecoverableFileError. """ def get_size_of_best_version():