From 4a4305e7e6514dcfccc40594f22adec5b572e339 Mon Sep 17 00:00:00 2001 From: Zooko O'Whielacronx <zooko@zooko.com> Date: Tue, 26 Jan 2010 06:34:11 -0800 Subject: [PATCH] ftpd: clearer error message if Twisted needs a patch (by Nils Durner) --- src/allmydata/frontends/ftpd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.45.2