diff options
author | Tibor Frank <tifrank@cisco.com> | 2017-10-19 14:35:38 +0200 |
---|---|---|
committer | Tibor Frank <tifrank@cisco.com> | 2017-10-19 12:37:13 +0000 |
commit | 631ed2d42af4f6660297409dfc5d952476eae9c2 (patch) | |
tree | 289d5b6e039ed5b90d25a7d20f6af805b04e09cf | |
parent | 96f40f9f17572b0e577fe8e3e698e75b454f9c12 (diff) |
PAL: do not generate pdf
Change-Id: Iab192d78491db9f8909ea708cf5dd588030f0b30
Signed-off-by: Tibor Frank <tifrank@cisco.com>
(cherry picked from commit 6f1348b3bcc125407d1ea03e73525c599385203d)
-rw-r--r-- | resources/tools/presentation/pal.py | 66 | ||||
-rw-r--r-- | resources/tools/presentation/specification.yaml | 4 |
2 files changed, 35 insertions, 35 deletions
diff --git a/resources/tools/presentation/pal.py b/resources/tools/presentation/pal.py index 86b709c5be..fdd3e8a263 100644 --- a/resources/tools/presentation/pal.py +++ b/resources/tools/presentation/pal.py @@ -83,39 +83,39 @@ def main(): logging.critical("Finished with error.") sys.exit(1) - try: - env = Environment(spec.environment, args.force) - env.set_environment() - - if spec.is_debug: - if spec.debug["input-format"] == "zip": - unzip_files(spec) - else: - download_data_files(spec) - - prepare_static_content(spec) - - data = InputData(spec) - data.read_data() - - generate_tables(spec, data) - generate_plots(spec, data) - generate_files(spec, data) - generate_report(args.release, spec) - - logging.info("Successfully finished.") - - except (KeyError, ValueError, PresentationError) as err: - logging.info("Finished with an error.") - logging.critical(str(err)) - except Exception as err: - logging.info("Finished with an error.") - logging.critical(str(err)) - - finally: - if spec is not None and not spec.is_debug: - clean_environment(spec.environment) - sys.exit(1) + # try: + env = Environment(spec.environment, args.force) + env.set_environment() + + if spec.is_debug: + if spec.debug["input-format"] == "zip": + unzip_files(spec) + else: + download_data_files(spec) + + prepare_static_content(spec) + + data = InputData(spec) + data.read_data() + + generate_tables(spec, data) + generate_plots(spec, data) + generate_files(spec, data) + generate_report(args.release, spec) + + logging.info("Successfully finished.") + + # except (KeyError, ValueError, PresentationError) as err: + # logging.info("Finished with an error.") + # logging.critical(str(err)) + # except Exception as err: + # logging.info("Finished with an error.") + # logging.critical(str(err)) + # + # finally: + # if spec is not None and not spec.is_debug: + # clean_environment(spec.environment) + # sys.exit(1) if __name__ == '__main__': diff --git a/resources/tools/presentation/specification.yaml b/resources/tools/presentation/specification.yaml index fcb6701172..002fa81afb 100644 --- a/resources/tools/presentation/specification.yaml +++ b/resources/tools/presentation/specification.yaml @@ -169,8 +169,8 @@ format: html: - full - pdf: - - minimal +# pdf: +# - minimal ################################################################################ ### T A B L E S ### |