Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
csst-pipeline
csst_common
Commits
a85e953d
Commit
a85e953d
authored
Dec 10, 2023
by
BO ZHANG
🏀
Browse files
refactor CsstResult.files
parent
ded84fa6
Changes
1
Hide whitespace changes
Inline
Side-by-side
csst_common/status.py
View file @
a85e953d
...
@@ -52,11 +52,11 @@ class CsstResult:
...
@@ -52,11 +52,11 @@ class CsstResult:
assert
isinstance
(
status
,
CsstStatus
)
assert
isinstance
(
status
,
CsstStatus
)
assert
type
(
files
)
is
list
assert
type
(
files
)
is
list
self
.
status
=
status
self
.
status
=
status
self
.
file
_list
=
files
self
.
file
s
=
files
self
.
output
=
output
self
.
output
=
output
def
__repr__
(
self
):
def
__repr__
(
self
):
return
f
""" <CsstResult status=
{
self
.
status
}
>
return
f
""" <CsstResult status=
{
self
.
status
}
>
- file
_list
:
{
self
.
file
_list
}
- file
s
:
{
self
.
file
s
}
- output:
{
self
.
output
}
\n
- output:
{
self
.
output
}
\n
"""
"""
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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