From ac9f9dbabdc16e3572b9bf98be658ba8050c9732 Mon Sep 17 00:00:00 2001 From: joamag Date: Fri, 14 Nov 2014 12:41:49 +0000 Subject: [PATCH] new warning messages --- src/netius/base/common.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/netius/base/common.py b/src/netius/base/common.py index bfc8c6f95..b2086e000 100644 --- a/src/netius/base/common.py +++ b/src/netius/base/common.py @@ -689,7 +689,7 @@ def fstart(self): # object that is notified for each operation associated with # the file pool, (primary communication mechanism) eventfd = self.fpool.eventfd() - if not eventfd: self.warning("Running file pool without eventfd") + if not eventfd: self.warning("Starting file pool without eventfd") if not eventfd: return if not self.poll: return self.poll.sub_read(eventfd) @@ -714,6 +714,7 @@ def fstop(self): # the file pool an in case it exists unsubscribes # from it under the current polling system eventfd = self.fpool.eventfd() + if not eventfd: self.warning("Stopping file pool without eventfd") if not eventfd: return if not self.poll: return self.poll.unsub_read(eventfd)