From defd699bd82c1802432492bb0d14ef8a555e6558 Mon Sep 17 00:00:00 2001 From: Gerard Wagener Date: Thu, 14 Jan 2010 15:49:51 +0100 Subject: [PATCH] Add idea to implement signal handler to flush the file --- aha/aha-worker.py | 3 +-- aha/aha.py | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/aha/aha-worker.py b/aha/aha-worker.py index d6fea734751..d7c24234fe6 100644 --- a/aha/aha-worker.py +++ b/aha/aha-worker.py @@ -9,8 +9,7 @@ #for the aha tak to take the decisions #The aha framework can be launched then in screen # - - +#TODO implement signal handler HUP flushes the file import dircache,os.path,time,sys,ConfigParser,getopt from ahalib import * diff --git a/aha/aha.py b/aha/aha.py index b04443ec8a0..75979ff04b6 100644 --- a/aha/aha.py +++ b/aha/aha.py @@ -8,6 +8,7 @@ from ctypes import * from ahalib import * class KernelEvents(ProcessEvent): + def __init__(self,inqueue,outqueue,insultmaxidx): self.ahaa = AHAActions(inqueue,outqueue)