mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
Remove zerver/lib/parallel.py from mypy's exclude_py3.
This commit is contained in:
committed by
Tim Abbott
parent
5e8dba4c75
commit
4e698ab1f6
@@ -28,7 +28,7 @@ def run_parallel(job, data, threads=6):
|
||||
except OSError as e:
|
||||
if e.errno != errno.EBADF:
|
||||
raise
|
||||
sys.stdin = open("/dev/null", "r")
|
||||
sys.stdin = open("/dev/null", "r") # type: ignore # py2 and py3 stubs are not compatible
|
||||
os._exit(job(item))
|
||||
|
||||
pids[pid] = item
|
||||
|
||||
Reference in New Issue
Block a user