summaryrefslogtreecommitdiff
path: root/gnuradio-runtime
diff options
context:
space:
mode:
authorHåkon Vågsether <haakonsv@gmail.com>2017-08-21 11:35:08 +0200
committerHåkon Vågsether <haakonsv@gmail.com>2017-08-21 11:35:08 +0200
commit5ee319cb49a5a344521f33b123b4ad0d0927163a (patch)
tree2bd6c840a40fa816397d3a078e4070cc73658bed /gnuradio-runtime
parentafd7c8e43659ec461ae4c4859ecf55ba95304255 (diff)
Fix typos from switch to Python 3
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r--gnuradio-runtime/examples/mp-sched/affinity_set.py2
-rw-r--r--gnuradio-runtime/python/gnuradio/gru/gnuplot_freqz.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/gnuradio-runtime/examples/mp-sched/affinity_set.py b/gnuradio-runtime/examples/mp-sched/affinity_set.py
index b717e1e506..a253c8081c 100644
--- a/gnuradio-runtime/examples/mp-sched/affinity_set.py
+++ b/gnuradio-runtime/examples/mp-sched/affinity_set.py
@@ -59,7 +59,7 @@ if __name__ == '__main__':
tb.start()
while(1):
- ret = eval(input('Enter a new Core # or Press Enter to quit: '))
+ ret = input('Enter a new Core # or Press Enter to quit: ')
if(len(ret) == 0):
tb.stop()
sys.exit(0)
diff --git a/gnuradio-runtime/python/gnuradio/gru/gnuplot_freqz.py b/gnuradio-runtime/python/gnuradio/gru/gnuplot_freqz.py
index 5a1ea91cad..71aee11f0b 100644
--- a/gnuradio-runtime/python/gnuradio/gru/gnuplot_freqz.py
+++ b/gnuradio-runtime/python/gnuradio/gru/gnuplot_freqz.py
@@ -101,4 +101,4 @@ def test_plot ():
if __name__ == '__main__':
handle = test_plot ()
- eval(input ('Press Enter to continue: '))
+ input ('Press Enter to continue: ')