Coding style (linting).
This commit is contained in:
parent
71dc9df58c
commit
9d143a4dd9
5 changed files with 45 additions and 47 deletions
|
|
@ -6,7 +6,6 @@
|
|||
import asyncio
|
||||
import os
|
||||
import signal
|
||||
import subprocess
|
||||
|
||||
import psutil
|
||||
|
||||
|
|
@ -47,7 +46,7 @@ class Worker:
|
|||
return tools.Status(int(data))
|
||||
|
||||
async def job_runner(self, summary, log, jobs_added_event,
|
||||
appearance_changed_event):
|
||||
appearance_changed_event):
|
||||
await self.create_process()
|
||||
_make_process_nicest(self.child_pid)
|
||||
while True:
|
||||
|
|
@ -64,7 +63,7 @@ class Worker:
|
|||
os.kill(os.getpid(), signal.SIGINT)
|
||||
break
|
||||
await self.result.run(log, appearance_changed_event,
|
||||
self)
|
||||
self)
|
||||
summary.completed_total += 1
|
||||
jobs_added_event.clear()
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue