Backed out changeset 697eb6db7d96 (bug 930808) for OS X make check failures
This commit is contained in:
@@ -12,7 +12,6 @@ import os
|
||||
import sys
|
||||
import psutil
|
||||
|
||||
|
||||
def main():
|
||||
if len(sys.argv) != 2:
|
||||
sys.exit('usage: %s name' % __file__)
|
||||
@@ -21,7 +20,7 @@ def main():
|
||||
|
||||
killed = []
|
||||
for proc in psutil.process_iter():
|
||||
if proc.name() == NAME and proc.pid != os.getpid():
|
||||
if proc.name == NAME and proc.pid != os.getpid():
|
||||
proc.kill()
|
||||
killed.append(proc.pid)
|
||||
if not killed:
|
||||
|
||||
Reference in New Issue
Block a user