2
0
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:
Jarno Rajahalme
2015-10-23 16:35:17 -07:00
parent 121cf32711
commit 2a33a3c20f

View File

@@ -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")