Skip to content

Commit

Permalink
updating to keep tunnel options out of the config
Browse files Browse the repository at this point in the history
  • Loading branch information
Sam-Harper committed Jan 11, 2023
1 parent bbc408d commit 32be7d5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions HLTrigger/Configuration/scripts/hltGetConfiguration
Original file line number Diff line number Diff line change
Expand Up @@ -255,14 +255,14 @@ parser.add_argument('--help',
# parse command line arguments and options
config = parser.parse_args(namespace = options.HLTProcessOptions())

# do not include db-proxy options in 1st-line comment
# do not include db-proxy/tunnel options in 1st-line comment
cmdArgs, skipNext = [], False
for cmdArg in sys.argv:
if skipNext:
skipNext = False
continue
if cmdArg.startswith('--dbproxy'):
if cmdArg.startswith('--dbproxyh') or cmdArg.startswith('--dbproxyp'):
if cmdArg.startswith('--dbproxy') or cmdArg.startswith('--dbtunnel'):
if cmdArg.startswith('--dbproxyh') or cmdArg.startswith('--dbproxyp') or cmdArg.startswith('--dbtunnelp'):
skipNext = '=' not in cmdArg
continue
cmdArgs += [cmdArg]
Expand Down

0 comments on commit 32be7d5

Please sign in to comment.