From afa25a26d9fe94189778517c18f8621406648217 Mon Sep 17 00:00:00 2001 From: William Falcon Date: Wed, 24 Jul 2019 14:57:17 -0400 Subject: [PATCH] added auto port find --- tests/debug.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/tests/debug.py b/tests/debug.py index 473df9bf..bb71bc97 100644 --- a/tests/debug.py +++ b/tests/debug.py @@ -139,10 +139,3 @@ if __name__ == '__main__': pids = subprocess.check_output(command, shell=True) pids = pids.strip() print(pids) - if pids: - pids = re.sub(' +', ' ', pids) - for pid in pids.split('\n'): - try: - yield int(pid) - except: - pass \ No newline at end of file