Merge pull request #28699 from rallytime/bp-28670

Back-port #28670 to 2015.5
This commit is contained in:
Mike Place 2015-11-09 11:10:58 -07:00
commit 604a7b4199

View file

@ -97,7 +97,7 @@ def _get_proc_username(proc):
'''
try:
return proc.username() if PSUTIL2 else proc.username
except (psutil.NoSuchProcess, psutil.AccessDenied):
except (psutil.NoSuchProcess, psutil.AccessDenied, KeyError):
return None