summaryrefslogtreecommitdiff
path: root/gr-digital/python
diff options
context:
space:
mode:
authorMarcus Müller <marcus.mueller@ettus.com>2018-11-04 18:44:10 +0100
committerAndrej Rode <mail@andrejro.de>2018-11-12 12:30:42 +0100
commit9def7b29897e137f4936fbbaaae990910c0913a1 (patch)
tree0caefef7e2c8a355471b77bff0ad0a4dbe167c65 /gr-digital/python
parentb1e0b54d02bb981eba734ea29174e6134950dde6 (diff)
runtime: gr_threading clutch obsolete; remove it and its usage
We essentially monkeypatched Python's `threading` module inelegantly to get around shortcomings in Python 2.3 and 2.4. Since support for these versions is long gone: removal of this clutch and its usage.
Diffstat (limited to 'gr-digital/python')
-rw-r--r--gr-digital/python/digital/ofdm.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-digital/python/digital/ofdm.py b/gr-digital/python/digital/ofdm.py
index db15a4d3f1..53ab276938 100644
--- a/gr-digital/python/digital/ofdm.py
+++ b/gr-digital/python/digital/ofdm.py
@@ -31,7 +31,7 @@ from gnuradio import blocks
from . import digital_swig as digital
from . import ofdm_packet_utils
from .ofdm_receiver import ofdm_receiver
-import gnuradio.gr.gr_threading as _threading
+import threading
from . import psk, qam
# /////////////////////////////////////////////////////////////////////////////
@@ -299,9 +299,9 @@ class ofdm_demod(gr.hier_block2):
-class _queue_watcher_thread(_threading.Thread):
+class _queue_watcher_thread(threading.Thread):
def __init__(self, rcvd_pktq, callback):
- _threading.Thread.__init__(self)
+ threading.Thread.__init__(self)
self.setDaemon(1)
self.rcvd_pktq = rcvd_pktq
self.callback = callback