Code Review
/
csit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Report: Add data
[csit.git]
/
resources
/
tools
/
presentation
/
input_data_files.py
diff --git
a/resources/tools/presentation/input_data_files.py
b/resources/tools/presentation/input_data_files.py
index
d90f113
..
a1ab243
100644
(file)
--- a/
resources/tools/presentation/input_data_files.py
+++ b/
resources/tools/presentation/input_data_files.py
@@
-16,7
+16,6
@@
Download all data.
"""
import re
"""
import re
-import logging
from os import rename, mkdir
from os.path import join
from os import rename, mkdir
from os.path import join
@@
-182,13
+181,9
@@
def download_and_unzip_data_file(spec, job, build, pid, log):
format(job=job, sep=SEPARATOR, build=build["build"],
name=file_name))
format(job=job, sep=SEPARATOR, build=build["build"],
name=file_name))
- logging.info(new_name)
-
# Download the file from the defined source (Jenkins, logs.fd.io):
success = _download_file(url, new_name, log)
# Download the file from the defined source (Jenkins, logs.fd.io):
success = _download_file(url, new_name, log)
- logging.info("{}: {}".format(url, success))
-
if success and new_name.endswith(".zip"):
if not is_zipfile(new_name):
success = False
if success and new_name.endswith(".zip"):
if not is_zipfile(new_name):
success = False