Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CIRCLE
/
cloud
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
94
Merge Requests
10
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
ecd67ff5
authored
Feb 26, 2014
by
Guba Sándor
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
common: fixed activity result on succes
parent
b56c2abc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletions
+2
-1
circle/common/models.py
+2
-1
No files found.
circle/common/models.py
View file @
ecd67ff5
...
@@ -64,7 +64,8 @@ class ActivityModel(TimeStampedModel):
...
@@ -64,7 +64,8 @@ class ActivityModel(TimeStampedModel):
if
not
self
.
finished
:
if
not
self
.
finished
:
self
.
finished
=
timezone
.
now
()
self
.
finished
=
timezone
.
now
()
self
.
succeeded
=
succeeded
self
.
succeeded
=
succeeded
self
.
result
=
result
if
result
is
not
None
:
self
.
result
=
result
if
event_handler
is
not
None
:
if
event_handler
is
not
None
:
event_handler
(
self
)
event_handler
(
self
)
self
.
save
()
self
.
save
()
...
...
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