From: david-sarah Date: Mon, 1 Aug 2011 20:30:09 +0000 (-0700) Subject: src/allmydata/web/filenode.py: delete a stale comment that was made incorrect by... X-Git-Url: https://git.rkrishnan.org/vdrive/%22news.html/frontends/webapi.txt?a=commitdiff_plain;h=23b3a2f45ad3df53ef6de271ae3053629ea732a4;p=tahoe-lafs%2Ftahoe-lafs.git src/allmydata/web/filenode.py: delete a stale comment that was made incorrect by changeset [3133]. --- diff --git a/src/allmydata/web/filenode.py b/src/allmydata/web/filenode.py index 66b7df08..447bbe00 100644 --- a/src/allmydata/web/filenode.py +++ b/src/allmydata/web/filenode.py @@ -322,14 +322,6 @@ def makeMutableDownloadable(n): return d class FileDownloader(rend.Page): - # since we override the rendering process (to let the tahoe Downloader - # drive things), we must inherit from regular old twisted.web.resource - # instead of nevow.rend.Page . Nevow will use adapters to wrap a - # nevow.appserver.OldResourceAdapter around any - # twisted.web.resource.IResource that it is given. TODO: it looks like - # that wrapper would allow us to return a Deferred from render(), which - # might could simplify the implementation of WebDownloadTarget. - def __init__(self, filenode, filename): rend.Page.__init__(self) self.filenode = filenode