Fix style of conditional

main
Yannis Spiliopoulos 9 years ago
parent 3362fe2ba5
commit 9b774771db

@ -523,7 +523,7 @@ class Worker(object):
while True: while True:
try: try:
_, ret_val = os.waitpid(self._horse_pid, 0) _, ret_val = os.waitpid(self._horse_pid, 0)
if not (ret_val == os.EX_OK): if ret_val != os.EX_OK:
job_status = job.get_status() job_status = job.get_status()
if job_status is None: if job_status is None:
# Job completed and its ttl has expired # Job completed and its ttl has expired

Loading…
Cancel
Save