Skip to content

Commit

Permalink
fixup! Fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
lukecwik committed May 1, 2020
1 parent a0d215c commit b740404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/utils/thread_pool_executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ def submit(self, fn, *args, **kwargs):
self._idle_worker_queue.get(block=False).assign_work(work_item)

# If we have more idle threads then the max allowed, shutdown a thread.
if (self._idle_worker_queue.qsize() > self._max_idle_threads):
if self._idle_worker_queue.qsize() > self._max_idle_threads:
try:
self._idle_worker_queue.get(block=False).shutdown()
except queue.Empty:
Expand Down

0 comments on commit b740404

Please sign in to comment.