From 56ba2f3107066b9a449b83eba64cab8e43cae9f0 Mon Sep 17 00:00:00 2001 From: Samo Penic <samo.penic@fe.uni-lj.si> Date: Mon, 16 May 2016 10:26:38 +0000 Subject: [PATCH] Added comment about psutil version --- python/trisurf/trisurf.py | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/python/trisurf/trisurf.py b/python/trisurf/trisurf.py index 4387659..ac8abaf 100644 --- a/python/trisurf/trisurf.py +++ b/python/trisurf/trisurf.py @@ -324,6 +324,7 @@ return TS_NOLOCK if(psutil.pid_exists(int(pid))): proc= psutil.Process(int(pid)) + #psutil.__version__ == '3.4.2' requires name() and status(), some older versions reguire name, status if proc.name()=="trisurf": if proc.status()=="stopped": return TS_STOPPED -- Gitblit v1.9.3