From 750e4c71f1a18d51a0cced9e7983f797666b0edd Mon Sep 17 00:00:00 2001 From: Gerard Wagener Date: Thu, 21 Jan 2010 13:58:49 +0100 Subject: [PATCH] Try #0 fix IOError from aha - worker --- aha/aha-worker.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/aha/aha-worker.py b/aha/aha-worker.py index d6fea734751..ed8fa7b3cc9 100644 --- a/aha/aha-worker.py +++ b/aha/aha-worker.py @@ -36,6 +36,8 @@ class PeriodTaks(): def remove_old_msg(self,queue): #Get current date if the files are older than the timeout remove them t0 = int(time.strftime("%s")) + #FIXME os.walkdir, os.listdir could also be used + dircache.reset() files = dircache.listdir(queue) for file in files: af = queue + os.sep + file