diff options
Diffstat (limited to 'gr-utils/modtool/core/bind.py')
-rw-r--r-- | gr-utils/modtool/core/bind.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gr-utils/modtool/core/bind.py b/gr-utils/modtool/core/bind.py index 29998babc7..c83a320c00 100644 --- a/gr-utils/modtool/core/bind.py +++ b/gr-utils/modtool/core/bind.py @@ -39,7 +39,7 @@ class ModToolGenBindings(ModTool): self.info['pattern'] = blockname self.info['addl_includes'] = kwargs['addl_includes'] self.info['define_symbols'] = kwargs['define_symbols'] - self.info['fix_hash'] = kwargs['fix_hash'] + self.info['update_hash_only'] = kwargs['update_hash_only'] def validate(self): """ Validates the arguments """ @@ -72,9 +72,9 @@ class ModToolGenBindings(ModTool): files_to_process = [os.path.join(self.dir, self.info['includedir'], f'{blockname}.h') for blockname in blocknames_to_process] bg = BindingGenerator(prefix=gr.prefix(), namespace=[ 'gr', self.info['modname']], prefix_include_root=self.info['modname'], output_dir=os.path.join(self.dir, 'python'), - define_symbols=self.info['define_symbols'], addl_includes=self.info['addl_includes'], fix_hash=self.info['fix_hash']) + define_symbols=self.info['define_symbols'], addl_includes=self.info['addl_includes'], update_hash_only=self.info['update_hash_only']) for file_to_process in files_to_process: - if self.info['fix_hash']: + if self.info['update_hash_only']: bg.fix_file_hash(file_to_process) else: bg.gen_file_binding(file_to_process) |