Commit 6297328b authored by ibuler's avatar ibuler

[Update] 去掉无用导入

parent 7a7b265e
...@@ -10,15 +10,12 @@ import json ...@@ -10,15 +10,12 @@ import json
import signal import signal
import copy import copy
import psutil
from .conf import config from .conf import config
from .sshd import SSHServer from .sshd import SSHServer
from .httpd import HttpServer from .httpd import HttpServer
from .tasks import TaskHandler from .tasks import TaskHandler
from .utils import ( from .utils import (
get_logger, ugettext as _, ignore_error, get_monitor_data, get_logger, ugettext as _, ignore_error,
get_coco_monitor_data
) )
from .service import app_service from .service import app_service
from .recorder import get_replay_recorder from .recorder import get_replay_recorder
......
...@@ -22,7 +22,7 @@ BASE_DIR = os.path.abspath(os.path.dirname(__file__)) ...@@ -22,7 +22,7 @@ BASE_DIR = os.path.abspath(os.path.dirname(__file__))
sys.path.insert(0, BASE_DIR) sys.path.insert(0, BASE_DIR)
dirs = ('logs',) dirs = ('logs', 'keys')
for d in dirs: for d in dirs:
d2 = os.path.join('data', d) d2 = os.path.join('data', d)
if not os.path.isdir(d2): if not os.path.isdir(d2):
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment