summaryrefslogtreecommitdiff
path: root/gnuradio-runtime/python/gnuradio/gr/top_block.py
diff options
context:
space:
mode:
authorJosh Morman <jmorman@gnuradio.org>2021-11-24 12:53:58 -0500
committermormj <34754695+mormj@users.noreply.github.com>2021-11-24 14:41:53 -0500
commit51ec89501552c35b2bd0721c0501302f224fe44d (patch)
tree442036c424c286ece0976dcd3c36891cddefcd25 /gnuradio-runtime/python/gnuradio/gr/top_block.py
parente426b9ad20dbbf41326c103b31a7418a80362b06 (diff)
runtime: pep8 formatting
Signed-off-by: Josh Morman <jmorman@gnuradio.org>
Diffstat (limited to 'gnuradio-runtime/python/gnuradio/gr/top_block.py')
-rw-r--r--gnuradio-runtime/python/gnuradio/gr/top_block.py8
1 files changed, 5 insertions, 3 deletions
diff --git a/gnuradio-runtime/python/gnuradio/gr/top_block.py b/gnuradio-runtime/python/gnuradio/gr/top_block.py
index d44c6c46d4..b3cb06d41c 100644
--- a/gnuradio-runtime/python/gnuradio/gr/top_block.py
+++ b/gnuradio-runtime/python/gnuradio/gr/top_block.py
@@ -9,15 +9,16 @@
from .gr_python import (top_block_pb,
- top_block_wait_unlocked, top_block_run_unlocked,
- top_block_start_unlocked, top_block_stop_unlocked,
- top_block_unlock_unlocked) #, dot_graph_tb)
+ top_block_wait_unlocked, top_block_run_unlocked,
+ top_block_start_unlocked, top_block_stop_unlocked,
+ top_block_unlock_unlocked) # , dot_graph_tb)
from .hier_block2 import hier_block2
import threading
from .hier_block2 import hier_block2
+
class _top_block_waiter(threading.Thread):
"""
This kludge allows ^C to interrupt top_block.run and top_block.wait
@@ -41,6 +42,7 @@ class _top_block_waiter(threading.Thread):
See also top_block.wait (below), which uses this class to implement
the interruptible wait.
"""
+
def __init__(self, tb):
threading.Thread.__init__(self)
self.setDaemon(1)