mirror of
https://github.com/tahoe-lafs/tahoe-lafs.git
synced 2025-01-31 08:25:35 +00:00
ftpd: clearer error message if Twisted needs a patch (by Nils Durner)
This commit is contained in:
parent
26c6b806d7
commit
4a4305e7e6
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user