From 0eb4d62cf3e1b39540c65acd327925aa3c43947b Mon Sep 17 00:00:00 2001 From: VG Date: Mon, 14 Mar 2016 15:23:01 +0100 Subject: wip --- tests/wqueue.py | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'tests/wqueue.py') diff --git a/tests/wqueue.py b/tests/wqueue.py index 528a10c..7120bf4 100755 --- a/tests/wqueue.py +++ b/tests/wqueue.py @@ -9,11 +9,14 @@ import asyncio QUEUE_FILE = 'queue.txt' COMMAND = './command.sh' -loop = asyncio.get_event_loop() -class JobHandler(asyncio.SubprocessProtocol): - def process_exited(self): - print() +# loop = asyncio.get_event_loop() + + +# class JobHandler(asyncio.SubprocessProtocol): +# def process_exited(self): +# print() + def do_job(command=None, arg=None): assert(command) -- cgit v1.2.3