Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
slapos-caddy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Guillaume Hervier
slapos-caddy
Commits
7c7c3761
Commit
7c7c3761
authored
Apr 11, 2017
by
Łukasz Nowak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make generator len-able
parent
883fe6bf
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
software/cdn-test/runTestSuite.py
software/cdn-test/runTestSuite.py
+2
-2
No files found.
software/cdn-test/runTestSuite.py
View file @
7c7c3761
...
@@ -99,10 +99,10 @@ def main():
...
@@ -99,10 +99,10 @@ def main():
if
len
(
result_list
)
>
0
:
if
len
(
result_list
)
>
0
:
print
(
try_info
+
' Data directory found, looking for results.'
)
print
(
try_info
+
' Data directory found, looking for results.'
)
result_path
=
result_list
[
0
]
result_path
=
result_list
[
0
]
result_file_list
=
(
os
.
path
.
join
(
dirname
,
filename
)
result_file_list
=
list
(
(
os
.
path
.
join
(
dirname
,
filename
)
for
dirname
,
dirnames
,
filenames
in
os
.
walk
(
result_path
)
for
dirname
,
dirnames
,
filenames
in
os
.
walk
(
result_path
)
for
filename
in
filenames
for
filename
in
filenames
)
)
)
if
len
(
result_file_list
):
if
len
(
result_file_list
):
print
(
try_info
+
' No result posted, will check next try.'
)
print
(
try_info
+
' No result posted, will check next try.'
)
for
result_file
in
result_file_list
:
for
result_file
in
result_file_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