diff options
author | Tibor Frank <tifrank@cisco.com> | 2019-08-09 12:45:27 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2019-08-13 12:39:26 +0000 |
commit | cd2a57aba61553f36c638dc6e8d949e1739fb6bf (patch) | |
tree | 98507cfc1f3dae9ca86301df44f04f5fd86b9255 /resources/tools/presentation/utils.py | |
parent | 9e1bb28404a23f6d4c62fb945a3ee6dba42f1c47 (diff) |
Report: Download first from logs.fd.io
Change-Id: I308d7a7f72e0ea2e23b96be7db1ba35920bae519
Signed-off-by: Tibor Frank <tifrank@cisco.com>
Diffstat (limited to 'resources/tools/presentation/utils.py')
-rw-r--r-- | resources/tools/presentation/utils.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/resources/tools/presentation/utils.py b/resources/tools/presentation/utils.py index 8f5630083b..3f0d6ff084 100644 --- a/resources/tools/presentation/utils.py +++ b/resources/tools/presentation/utils.py @@ -235,9 +235,11 @@ def archive_input_data(spec): logging.info(" Archiving the input data files ...") - extension = spec.input["file-format"] - data_files = get_files(spec.environment["paths"]["DIR[WORKING,DATA]"], - extension=extension) + extension = spec.input["arch-file-format"] + data_files = list() + for ext in extension: + data_files.extend(get_files( + spec.environment["paths"]["DIR[WORKING,DATA]"], extension=ext)) dst = spec.environment["paths"]["DIR[STATIC,ARCH]"] logging.info(" Destination: {0}".format(dst)) |