summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/modtool_disable.py
diff options
context:
space:
mode:
authorJohnathan Corgan <johnathan@corganlabs.com>2017-09-22 16:27:15 -0700
committerJohnathan Corgan <johnathan@corganlabs.com>2017-09-22 16:27:15 -0700
commit1ca375a1abdba35e34c42603e25d5d0118a639d2 (patch)
tree17df66d901178473b2ce7cfec4f75fef26d79b55 /gr-utils/python/modtool/modtool_disable.py
parentb8f97b1694c1244103b9f02a27cc47c260422c7a (diff)
parent5ee319cb49a5a344521f33b123b4ad0d0927163a (diff)
Merge remote-tracking branch 'github/pr/1435' into python3
Diffstat (limited to 'gr-utils/python/modtool/modtool_disable.py')
-rw-r--r--gr-utils/python/modtool/modtool_disable.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/modtool_disable.py b/gr-utils/python/modtool/modtool_disable.py
index 629a810cb0..619858978d 100644
--- a/gr-utils/python/modtool/modtool_disable.py
+++ b/gr-utils/python/modtool/modtool_disable.py
@@ -50,7 +50,7 @@ class ModToolDisable(ModTool):
if options.blockname is not None:
self._info['pattern'] = options.blockname
else:
- self._info['pattern'] = eval(input('Which blocks do you want to disable? (Regex): '))
+ self._info['pattern'] = input('Which blocks do you want to disable? (Regex): ')
if len(self._info['pattern']) == 0:
self._info['pattern'] = '.'