diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2017-09-22 16:27:15 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2017-09-22 16:27:15 -0700 |
commit | 1ca375a1abdba35e34c42603e25d5d0118a639d2 (patch) | |
tree | 17df66d901178473b2ce7cfec4f75fef26d79b55 /gr-utils/python/modtool/modtool_newmod.py | |
parent | b8f97b1694c1244103b9f02a27cc47c260422c7a (diff) | |
parent | 5ee319cb49a5a344521f33b123b4ad0d0927163a (diff) |
Merge remote-tracking branch 'github/pr/1435' into python3
Diffstat (limited to 'gr-utils/python/modtool/modtool_newmod.py')
-rw-r--r-- | gr-utils/python/modtool/modtool_newmod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/modtool_newmod.py b/gr-utils/python/modtool/modtool_newmod.py index b3e384d122..c283204ee2 100644 --- a/gr-utils/python/modtool/modtool_newmod.py +++ b/gr-utils/python/modtool/modtool_newmod.py @@ -53,7 +53,7 @@ class ModToolNewModule(ModTool): if options.module_name: self._info['modname'] = options.module_name else: - self._info['modname'] = eval(input('Name of the new module: ')) + self._info['modname'] = input('Name of the new module: ') if not re.match('[a-zA-Z0-9_]+$', self._info['modname']): raise ModToolException('Invalid module name.') self._dir = options.directory |