From d561c758cd4c133a8364e2e59e34faf5359098fb Mon Sep 17 00:00:00 2001 From: Aditya Bansal Date: Sun, 7 May 2017 20:37:44 +0530 Subject: [PATCH] pep8: Add compliance with rule E261 to parallel.py. --- zerver/lib/parallel.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerver/lib/parallel.py b/zerver/lib/parallel.py index a4fae9bf65..35d1792029 100644 --- a/zerver/lib/parallel.py +++ b/zerver/lib/parallel.py @@ -9,7 +9,7 @@ import errno def run_parallel(job, data, threads=6): # type: (Any, Iterable[Any], int) -> Generator[Tuple[int, Any], None, None] - pids = {} # type: Dict[int, Any] + pids = {} # type: Dict[int, Any] def wait_for_one(): # type: () -> Tuple[int, Any] @@ -29,7 +29,7 @@ def run_parallel(job, data, threads=6): except OSError as e: if e.errno != errno.EBADF: raise - sys.stdin = open("/dev/null", "r") # type: ignore # py2 and py3 stubs are not compatible + sys.stdin = open("/dev/null", "r") # type: ignore # py2 and py3 stubs are not compatible os._exit(job(item)) pids[pid] = item