Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
C
coco
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ops
coco
Commits
6297328b
Commit
6297328b
authored
Mar 18, 2019
by
ibuler
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Update] 去掉无用导入
parent
7a7b265e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
5 deletions
+2
-5
app.py
coco/app.py
+1
-4
cocod
cocod
+1
-1
No files found.
coco/app.py
View file @
6297328b
...
...
@@ -10,15 +10,12 @@ import json
import
signal
import
copy
import
psutil
from
.conf
import
config
from
.sshd
import
SSHServer
from
.httpd
import
HttpServer
from
.tasks
import
TaskHandler
from
.utils
import
(
get_logger
,
ugettext
as
_
,
ignore_error
,
get_monitor_data
,
get_coco_monitor_data
get_logger
,
ugettext
as
_
,
ignore_error
,
)
from
.service
import
app_service
from
.recorder
import
get_replay_recorder
...
...
cocod
View file @
6297328b
...
...
@@ -22,7 +22,7 @@ BASE_DIR = os.path.abspath(os.path.dirname(__file__))
sys
.
path
.
insert
(
0
,
BASE_DIR
)
dirs
=
(
'logs'
,)
dirs
=
(
'logs'
,
'keys'
)
for
d
in
dirs
:
d2
=
os
.
path
.
join
(
'data'
,
d
)
if
not
os
.
path
.
isdir
(
d2
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment