Skip to content
Snippets Groups Projects

script updates for production

Merged Eric Torrence requested to merge faserrec-procdev into master
4 files
+ 50
7
Compare changes
  • Side-by-side
  • Inline
Files
4
@@ -315,5 +315,11 @@ b = time.time()
from AthenaCommon.Logging import log
log.info(f"Finish execution in {b-a} seconds")
sys.exit(int(sc.isFailure()))
# Signal errors
if sc.isSuccess():
log.info("Execution succeeded")
sys.exit(0)
else:
log.info("Execution failed, return 1")
sys.exit(1)
Loading