summaryrefslogtreecommitdiff
path: root/gr-utils/src/python/modtool/modtool_add.py
diff options
context:
space:
mode:
authorMartin Braun2013-01-25 17:52:46 +0100
committerMartin Braun2013-01-25 17:52:46 +0100
commitc4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8 (patch)
treec4415e4cedddd204dc186d0858f25e1a2c654827 /gr-utils/src/python/modtool/modtool_add.py
parentf24128ea9036f68e61ff9350ce86ec619f9ae286 (diff)
downloadgnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.tar.gz
gnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.tar.bz2
gnuradio-c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8.zip
utils: modtool minor updates
Diffstat (limited to 'gr-utils/src/python/modtool/modtool_add.py')
-rw-r--r--gr-utils/src/python/modtool/modtool_add.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/src/python/modtool/modtool_add.py b/gr-utils/src/python/modtool/modtool_add.py
index c664d7c1a..581f3b0aa 100644
--- a/gr-utils/src/python/modtool/modtool_add.py
+++ b/gr-utils/src/python/modtool/modtool_add.py
@@ -272,7 +272,7 @@ class ModToolAdd(ModTool):
self._write_tpl('block_python', 'python', fname_py)
append_re_line_sequence(self._file['pyinit'],
'(^from.*import.*\n|# import any pure.*\n)',
- 'from %s import *' % self._info['blockname'])
+ 'from %s import %s' % (self._info['blockname'], self._info['blockname']))
if self.options.skip_cmakefiles:
return
ed = CMakeFileEditor(self._file['cmpython'])