diff options
Diffstat (limited to 'resources/tools/presentation/pal.py')
-rw-r--r-- | resources/tools/presentation/pal.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/resources/tools/presentation/pal.py b/resources/tools/presentation/pal.py index 85b7bbc370..98642c898c 100644 --- a/resources/tools/presentation/pal.py +++ b/resources/tools/presentation/pal.py @@ -86,7 +86,7 @@ def main(): logging.critical("Finished with error.") return 1 - ret_code = 1 + ret_code = 0 try: env = Environment(spec.environment, args.force) env.set_environment() @@ -109,9 +109,8 @@ def main(): if spec.output["output"] == "report": generate_report(args.release, spec) logging.info("Successfully finished.") - ret_code = 0 elif spec.output["output"] == "CPTA": - ret_code = generate_cpta(spec, data) + sys.stdout.write(generate_cpta(spec, data)) logging.info("Successfully finished.") else: logging.critical("The output '{0}' is not supported.". |