aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/pkt_fwd/dummyfwd.py (renamed from tools/pkt_fwd/dummy.py)3
-rw-r--r--tools/tasks.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/pkt_fwd/dummy.py b/tools/pkt_fwd/dummyfwd.py
index 97ffc666..0de8d40f 100644
--- a/tools/pkt_fwd/dummy.py
+++ b/tools/pkt_fwd/dummyfwd.py
@@ -17,10 +17,11 @@
import logging
from conf import settings
+from tools.pkt_fwd.pkt_fwd import IPktFwd
_LOGGER = logging.getLogger(__name__)
-class Dummy(IPktFwd):
+class DummyFWD(IPktFwd):
"""Dummy implementation
"""
diff --git a/tools/tasks.py b/tools/tasks.py
index 4e03f85e..06408abd 100644
--- a/tools/tasks.py
+++ b/tools/tasks.py
@@ -391,7 +391,7 @@ class Process(object):
def run(self):
while True:
try:
- self.child.read_nonblocking()
+ self.child.read_nonblocking(timeout=None)
except (pexpect.EOF, pexpect.TIMEOUT):
break