summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/code_generator.py
diff options
context:
space:
mode:
Diffstat (limited to 'gr-utils/python/modtool/code_generator.py')
-rw-r--r--gr-utils/python/modtool/code_generator.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/gr-utils/python/modtool/code_generator.py b/gr-utils/python/modtool/code_generator.py
index 33cebc68c4..1bdffa501b 100644
--- a/gr-utils/python/modtool/code_generator.py
+++ b/gr-utils/python/modtool/code_generator.py
@@ -26,6 +26,7 @@ from util_functions import str_to_fancyc_comment
from util_functions import str_to_python_comment
from util_functions import strip_default_values
from util_functions import strip_arg_types
+from util_functions import strip_arg_types_grc
class GRMTemplate(Cheetah.Template.Template):
""" An extended template class """
@@ -44,6 +45,7 @@ class GRMTemplate(Cheetah.Template.Template):
searchList['str_to_python_comment'] = str_to_python_comment
searchList['strip_default_values'] = strip_default_values
searchList['strip_arg_types'] = strip_arg_types
+ searchList['strip_arg_types_grc'] = strip_arg_types_grc
Cheetah.Template.Template.__init__(self, src, searchList=searchList)
self.grblocktype = self.grtypelist[searchList['blocktype']]