From: Zooko O'Whielacronx Date: Tue, 26 Jan 2010 14:34:11 +0000 (-0800) Subject: ftpd: clearer error message if Twisted needs a patch (by Nils Durner) X-Git-Url: https://git.rkrishnan.org/simplejson/frontends/about.html?a=commitdiff_plain;h=4a4305e7e6514dcfccc40594f22adec5b572e339;p=tahoe-lafs%2Ftahoe-lafs.git ftpd: clearer error message if Twisted needs a patch (by Nils Durner) --- diff --git a/src/allmydata/frontends/ftpd.py b/src/allmydata/frontends/ftpd.py index bba29160..51330a78 100644 --- a/src/allmydata/frontends/ftpd.py +++ b/src/allmydata/frontends/ftpd.py @@ -289,7 +289,7 @@ class FTPServer(service.MultiService): # make sure we're using a patched Twisted that uses IWriteFile.close: # see docs/frontends/FTP-and-SFTP.txt and # http://twistedmatrix.com/trac/ticket/3462 for details. - assert "close" in ftp.IWriteFile.names(), "your twisted is lacking" + assert "close" in ftp.IWriteFile.names(), "your twisted is lacking a vital patch, see docs/frontends/FTP-and-SFTP.txt" r = Dispatcher(client) p = portal.Portal(r)