diff options
Diffstat (limited to 'gr-utils/python/modtool/modtool_makexml.py')
-rw-r--r-- | gr-utils/python/modtool/modtool_makexml.py | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/gr-utils/python/modtool/modtool_makexml.py b/gr-utils/python/modtool/modtool_makexml.py index 74fed4b7a1..90308d1b14 100644 --- a/gr-utils/python/modtool/modtool_makexml.py +++ b/gr-utils/python/modtool/modtool_makexml.py @@ -116,10 +116,10 @@ class ModToolMakeXML(ModTool): file_exists = True print("Warning: Overwriting existing GRC file.") grc_generator = GRCXMLGenerator( - modname=self._info['modname'], - blockname=blockname, - params=params, - iosig=iosig + modname=self._info['modname'], + blockname=blockname, + params=params, + iosig=iosig ) grc_generator.save(path_to_xml) if file_exists: @@ -148,7 +148,7 @@ class ModToolMakeXML(ModTool): 'std::vector<int>': 'int_vector', 'std::vector<float>': 'real_vector', 'std::vector<gr_complex>': 'complex_vector', - } + } if p_type in ('int',) and default_v is not None and len(default_v) > 1 and default_v[:2].lower() == '0x': return 'hex' try: @@ -175,4 +175,3 @@ class ModToolMakeXML(ModTool): raise ModToolException("Can't open some of the files necessary to parse {}.".format(fname_cc)) return (parser.read_params(), parser.read_io_signature(), blockname) - |