Ver Fonte

Further updates to a few py2 setup.py scripts

Michael Robertson há 12 anos atrás
pai
commit
4d6bfb9258
3 ficheiros alterados com 3 adições e 3 exclusões
  1. 1 1
      falcon/setup.py
  2. 1 1
      flask/setup.py
  3. 1 1
      flask/setup_nginxuwsgi.py

+ 1 - 1
falcon/setup.py

@@ -27,5 +27,5 @@ def stop():
     for line in out.splitlines():
       if 'FrameworkBenchmarks/installs/py2/bin/' in line:
         pid = int(line.split(None,2)[1])
-        kill(pid, 9)
+        os.kill(pid, 9)
     return 0

+ 1 - 1
flask/setup.py

@@ -28,5 +28,5 @@ def stop():
     for line in out.splitlines():
       if 'FrameworkBenchmarks/installs/py2/bin/' in line:
         pid = int(line.split(None,2)[1])
-        kill(pid, 9)
+        os.kill(pid, 9)
     return 0

+ 1 - 1
flask/setup_nginxuwsgi.py

@@ -30,6 +30,6 @@ def stop():
     for line in out.splitlines():
       if 'FrameworkBenchmarks/installs/py2/bin/' in line:
         pid = int(line.split(None,2)[1])
-        kill(pid, 9)
+        os.kill(pid, 9)
 
     return 0