Skip to content

Commit

Permalink
new warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
joamag committed Nov 14, 2014
1 parent 8d9df1e commit ac9f9db
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/netius/base/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand All @@ -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)
Expand Down

0 comments on commit ac9f9db

Please sign in to comment.