Fixup psutil.Process attribute accesses.

Review Request #2549 - Created July 31, 2015 and submitted

Information
John Sirois
pants
jsirois/ng-killall/fix
1895
3def955...
Reviewers
pants-reviews
kwlzn, patricklaw, zundel
There was one incorrect access of pid as a function and a few incorrect
accesses of other attributes as properties, all corrected.

 src/python/pants/java/nailgun_executor.py  | 6 +++---
 src/python/pants/pantsd/process_manager.py | 2 +-
 2 files changed, 4 insertions(+), 4 deletions(-)

This ran green locally:

$ ./pants test tests/python/pants_test/pantsd: tests/python/pants_test/java/:

Also, ng-killall is confirmed to go from noop to working.

psutil.Process docs here: http://pythonhosted.org/psutil/#process-class

CI went green here:
https://travis-ci.org/pantsbuild/pants/builds/73585152

John Sirois
John Sirois
John Sirois
Eric Ayers
John Sirois
John Sirois
Review request changed

Status: Closed (submitted)

Loading...