projects
/
tahoe-lafs
/
tahoe-lafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8b40826
)
frontends/ftpd.py: remove the check for IWriteFile.close since we're now guaranteed...
author
david-sarah
<david-sarah@jacaranda.org>
Fri, 22 Jul 2011 00:03:20 +0000
(17:03 -0700)
committer
david-sarah
<david-sarah@jacaranda.org>
Fri, 22 Jul 2011 00:03:20 +0000
(17:03 -0700)
src/allmydata/frontends/ftpd.py
patch
|
blob
|
history
diff --git
a/src/allmydata/frontends/ftpd.py
b/src/allmydata/frontends/ftpd.py
index 1321863af9ff8d385835bcab1eac3d5a7ea4d064..cc2a0a084ecdaecf44eea46ef88918e631690669 100644
(file)
--- a/
src/allmydata/frontends/ftpd.py
+++ b/
src/allmydata/frontends/ftpd.py
@@
-286,12
+286,6
@@
class FTPServer(service.MultiService):
def __init__(self, client, accountfile, accounturl, ftp_portstr):
service.MultiService.__init__(self)
- # 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.
- if "close" not in ftp.IWriteFile.names():
- raise AssertionError("your twisted is lacking a vital patch, see docs/frontends/FTP-and-SFTP.txt")
-
r = Dispatcher(client)
p = portal.Portal(r)