Remove scrap comments.

This commit is contained in:
Ethan Dalool 2020-03-03 01:55:54 -08:00
parent 46e6e82fa0
commit 22321162f4

View file

@ -49,10 +49,8 @@ class ThreadPool:
available = max(0, available)
if available == 0:
return
# print(f'Gonna start me some {available} jobs.')
for job in list(self._jobs):
if job.status == PENDING:
# print('starting', job)
job.start()
available -= 1
if available == 0:
@ -217,7 +215,6 @@ class Job:
self.value = self.function(*self.args, **self.kwargs)
self.status = FINISHED
except Exception as exc:
# print(exc)
self.exception = exc
self.status = RAISED
self._thread = None