Index: third_party/pyftpdlib/pyftpdlib/ftpserver.py |
diff --git a/third_party/pyftpdlib/pyftpdlib/ftpserver.py b/third_party/pyftpdlib/pyftpdlib/ftpserver.py |
index d273f84265db62cfcdb4ccac0bb7bb25fe98dee3..d48f01038993b8bb6bf8865492ef6934349e70cc 100644 |
--- a/third_party/pyftpdlib/pyftpdlib/ftpserver.py |
+++ b/third_party/pyftpdlib/pyftpdlib/ftpserver.py |
@@ -2546,17 +2546,15 @@ class FTPHandler(asynchat.async_chat): |
self.fs.root = self.authorizer.get_home_dir(self.username) |
self.log("User %s logged in." %self.username) |
else: |
- CallLater(5, auth_failed) |
+ auth_failed() |
wtc
2009/08/31 20:38:44
Why are these changes related to re-using the same
|
self.username = "" |
- self.sleeping = True |
# wrong username |
else: |
if self.username.lower() == 'anonymous': |
- CallLater(5, auth_failed, "Anonymous access not allowed.") |
+ auth_failed("Anonymous access not allowed.") |
else: |
- CallLater(5, auth_failed) |
+ auth_failed() |
self.username = "" |
- self.sleeping = True |
def ftp_REIN(self, line): |
"""Reinitialize user's current session.""" |