diff options
author | Martin Braun | 2013-01-25 17:52:46 +0100 |
---|---|---|
committer | Martin Braun | 2013-01-25 17:52:46 +0100 |
commit | c4971ab2cb4bdbb9abc5d5320bd16b45cf263cf8 (patch) | |
tree | c4415e4cedddd204dc186d0858f25e1a2c654827 /gr-utils/src/python/modtool/modtool_add.py | |
parent | f24128ea9036f68e61ff9350ce86ec619f9ae286 (diff) | |
download | gnuradio-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.py | 2 |
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']) |