diff options
author | Campbell Barton <ideasman42@gmail.com> | 2011-09-26 19:39:15 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2011-09-26 19:39:15 +0400 |
commit | 8a423f59ea123948383f024695bf058213169d82 (patch) | |
tree | 9ea31963eb9921ac66838ea3724732a8aa05c3c9 /build_files/cmake/project_source_info.py | |
parent | dc19877a09e307b91378565cca6e42aca6f68d9e (diff) |
pep8 cleanup and fix for keymap test operator from my own recent fix.
Diffstat (limited to 'build_files/cmake/project_source_info.py')
-rw-r--r-- | build_files/cmake/project_source_info.py | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/build_files/cmake/project_source_info.py b/build_files/cmake/project_source_info.py index 83e4e05dc0f..c636d778aaa 100644 --- a/build_files/cmake/project_source_info.py +++ b/build_files/cmake/project_source_info.py @@ -161,8 +161,6 @@ def queue_processes(process_funcs, job_total=-1): del multiprocessing if job_total == 1: - import os - import sys for func, args in process_funcs: sys.stdout.flush() sys.stderr.flush() @@ -171,14 +169,13 @@ def queue_processes(process_funcs, job_total=-1): process.wait() else: import time - import subprocess processes = [] for func, args in process_funcs: # wait until a thread is free while 1: processes[:] = [p for p in processes if p.poll() is None] - + if len(processes) <= job_total: break else: |