Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
DA-Platform
Overview
Overview
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
文档服务地址:
http://47.92.0.57:3000/
周报索引地址:
http://47.92.0.57:3000/s/NruNXRYmV
Open sidebar
Berlin
DA-Platform
Commits
53e5fc83
Commit
53e5fc83
authored
Oct 11, 2020
by
李景熙
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
t.task_state == '5'
parent
67d8a9aa
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Task.py
DAPlatform/dao/Task.py
+2
-1
No files found.
DAPlatform/dao/Task.py
View file @
53e5fc83
...
...
@@ -329,7 +329,8 @@ def set_state(task_id, state):
if
flag
:
t
.
task_state
=
4
elif
state
==
'giveup'
:
if
t
.
task_state
!=
5
:
if
not
t
.
task_state
==
'5'
:
print
(
t
.
task_state
)
slice_list
=
Slice
.
find_slicelist_by_taskId
(
t
.
task_id
)
flag
=
True
for
i
in
slice_list
:
...
...
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