]> git.rkrishnan.org Git - tahoe-lafs/tahoe-lafs.git/commitdiff
ftpd: clearer error message if Twisted needs a patch (by Nils Durner)
authorZooko O'Whielacronx <zooko@zooko.com>
Tue, 26 Jan 2010 14:34:11 +0000 (06:34 -0800)
committerZooko O'Whielacronx <zooko@zooko.com>
Tue, 26 Jan 2010 14:34:11 +0000 (06:34 -0800)
src/allmydata/frontends/ftpd.py

index bba29160b7be8f792bfc23c2b955e00a2dfaf5e5..51330a78b6c7d921dcda4e8cd87c0c0516a298f6 100644 (file)
@@ -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)