From 9696f7bc2b1c0563b4442adf6ac5b152234ba6fc Mon Sep 17 00:00:00 2001 From: Leonhard Reichenbach Date: Fri, 28 Jul 2023 13:04:38 +0200 Subject: [PATCH] Make ArgumentParser global --- k4FWCore/scripts/k4run | 1 + 1 file changed, 1 insertion(+) diff --git a/k4FWCore/scripts/k4run b/k4FWCore/scripts/k4run index 710fd67c..7b5fb274 100755 --- a/k4FWCore/scripts/k4run +++ b/k4FWCore/scripts/k4run @@ -21,6 +21,7 @@ FILTER_GAUDI_PROPS = [ "ContextService", "Cardinality", "Context", "CounterList" seen_files = set() option_db = {} +parser = None # There is no way of knowing if parse_known_args() or parse_args() was called