diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-10-28 08:53:31 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-10-28 08:53:31 -0700 |
commit | 0431fe39d383fcb30a0b688aaa3317d27030e10e (patch) | |
tree | 0b9571df0170cf190f8864abb514cea2da61ccb0 /gr-utils/python/modtool/util_functions.py | |
parent | aaba9bc301b96e7d1605ff463ed695f725db405b (diff) | |
parent | e24a2dbde4a2a6c1aa340d5c14ac05c2d93f4443 (diff) |
Merge branch 'maint'
Diffstat (limited to 'gr-utils/python/modtool/util_functions.py')
-rw-r--r-- | gr-utils/python/modtool/util_functions.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/python/modtool/util_functions.py b/gr-utils/python/modtool/util_functions.py index 6de854da88..71a7a7f535 100644 --- a/gr-utils/python/modtool/util_functions.py +++ b/gr-utils/python/modtool/util_functions.py @@ -79,7 +79,7 @@ def strip_arg_types(string): """" Strip the argument types from a list of arguments Example: "int arg1, double arg2" -> "arg1, arg2" """ string = strip_default_values(string) - return ", ".join([part.strip().split(' ')[-1] for part in string.split(',')]) + return ", ".join([part.strip().split(' ')[-1] for part in string.split(',')]).replace('&', '') def strip_arg_types_grc(string): """" Strip the argument types from a list of arguments for GRC make tag. |