summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/util_functions.py
diff options
context:
space:
mode:
authorMartin Braun <martin.braun@kit.edu>2013-10-24 00:11:26 +0200
committerJohnathan Corgan <johnathan@corganlabs.com>2013-10-28 08:47:19 -0700
commite24a2dbde4a2a6c1aa340d5c14ac05c2d93f4443 (patch)
tree66b62dc5e846d5460886193d9dcb672193caa125 /gr-utils/python/modtool/util_functions.py
parentd4e76a2afc13c1e2e38514eebf25e02f0a371aba (diff)
modtool: Fixes for in-tree adds, argument parsing (&-bug)
Diffstat (limited to 'gr-utils/python/modtool/util_functions.py')
-rw-r--r--gr-utils/python/modtool/util_functions.py2
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.