Fix auto detection of forks. #1738

This commit is contained in:
Clinton Hall 2020-04-23 10:07:16 +12:00 committed by GitHub
commit 850ba6dcea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 5 deletions

View file

@ -200,7 +200,8 @@ def process(section, dir_name, input_name=None, failed=False, client_agent='manu
del fork_params['quiet']
if param == 'type':
fork_params[param] = 'manual'
if 'type' in fork_params: # only set if we haven't already deleted for 'failed' above.
fork_params[param] = 'manual'
if 'proc_type' in fork_params:
del fork_params['proc_type']