summaryrefslogtreecommitdiff
path: root/scripts/pidof.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/pidof.py')
-rwxr-xr-xscripts/pidof.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/pidof.py b/scripts/pidof.py
index ee18aae4..da937107 100755
--- a/scripts/pidof.py
+++ b/scripts/pidof.py
@@ -12,9 +12,11 @@ $ pidof python
"""
from __future__ import print_function
-import psutil
+
import sys
+import psutil
+
def pidof(pgname):
pids = []