Fix style of conditional

This commit is contained in:
Yannis Spiliopoulos 2016-07-16 02:26:34 -04:00
parent 3362fe2ba5
commit 9b774771db
1 changed files with 1 additions and 1 deletions

View File

@ -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