From 517c8ca4251e3503a8f4ff01ce645e88b4ee52a5 Mon Sep 17 00:00:00 2001 From: Markus Frank <Markus.Frank@cern.ch> Date: Wed, 2 Oct 2019 08:53:13 +0200 Subject: [PATCH] Fix gcc 6.2 backwards compatibility --- DDG4/examples/readHEPMC.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/DDG4/examples/readHEPMC.py b/DDG4/examples/readHEPMC.py index e3ed36d65..3099fc501 100644 --- a/DDG4/examples/readHEPMC.py +++ b/DDG4/examples/readHEPMC.py @@ -36,7 +36,8 @@ def run(input_file): evtid = evtid + 1 except Exception as X: logger.error('\nException: readParticles: %s', str(X)) - if evtid > 0: os._exit(0); + if evtid > 0: + os._exit(0); if ret: for v in prim_vtx: logger.info('Mask:%04X (X:%8.2g,Y:%8.2g,Z:%8.2g) time:%8.2g Outgoing:%4d particles', -- GitLab