Commit f5d37726 authored by Łukasz Nowak's avatar Łukasz Nowak

Expose glob used to find data

This makes debugging much easier.
parent fcf310e6
......@@ -86,16 +86,16 @@ def main():
while 1:
finished = False
try_info = 'Try %s/%s.' % (try_num, try_amount)
print(try_info + ' Waiting for data.')
result_list = glob.glob(
os.path.join(
test_result_glob = os.path.join(
args.partition_path,
'..',
'*',
'srv',
'public',
'test-script-result',
))
)
print(try_info + ' Waiting for data in %r.' % (test_result_glob,))
result_list = glob.glob(test_result_glob)
if len(result_list) > 0:
print(try_info + ' Data directory found, looking for results.')
result_path = result_list[0]
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment