mirror of
https://github.com/openvswitch/ovs
synced 2025-10-23 14:57:06 +00:00
tests: Enable debugging in pyftpdlib.
Helps diagnosing problems. Signed-off-by: Jarno Rajahalme <jrajahalme@nicira.com> Acked-by: Joe Stringer <joestringer@nicira.com>
This commit is contained in:
@@ -30,6 +30,10 @@ def get_ftpd():
|
||||
from pyftpdlib.handlers import FTPHandler
|
||||
from pyftpdlib.servers import FTPServer
|
||||
|
||||
import logging
|
||||
import pyftpdlib.log
|
||||
pyftpdlib.log.LEVEL = logging.DEBUG
|
||||
|
||||
class OVSFTPHandler(FTPHandler):
|
||||
authorizer = DummyAuthorizer()
|
||||
authorizer.add_anonymous("/tmp")
|
||||
|
||||
Reference in New Issue
Block a user