From 4b48d94c52424236ece5bb19452ab90229bad621 Mon Sep 17 00:00:00 2001 From: Brian Warner Date: Mon, 27 Oct 2008 13:20:46 -0700 Subject: [PATCH] interfaces.IMutableFileNode.download_best_version(): fix return value --- src/allmydata/interfaces.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(): -- 2.45.2