X-Git-Url: https://gerrit.fd.io/r/gitweb?p=csit.git;a=blobdiff_plain;f=resources%2Ftools%2Fpresentation%2Futils.py;fp=resources%2Ftools%2Fpresentation%2Futils.py;h=3f0d6ff084ad1c1d60827b85c4bb65026dea9d23;hp=8f5630083b0991965935fee974dc4cfe32fbd25f;hb=cd2a57aba61553f36c638dc6e8d949e1739fb6bf;hpb=9e1bb28404a23f6d4c62fb945a3ee6dba42f1c47 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))