Merge pull request #39063 from cloudflare/ISS-39059

Avoid KeyError: 'multiprocessing' in the master logs
This commit is contained in:
C. R. Oldham 2017-02-06 13:37:34 -06:00 committed by GitHub
commit 2a85d73f59

View file

@ -81,7 +81,7 @@ def _read_proc_file(path, opts):
except IOError:
pass
return None
if opts['multiprocessing']:
if opts.get('multiprocessing'):
if data.get('pid') == pid:
return None
else: