summaryrefslogtreecommitdiff
path: root/gr-utils/python/modtool/util_functions.py
diff options
context:
space:
mode:
authorBen Reynwar <ben@reynwar.net>2013-05-10 05:45:12 -0700
committerBen Reynwar <ben@reynwar.net>2013-05-10 05:45:12 -0700
commite4f0319eced22c112f7e6a4cc45bc2036d285332 (patch)
tree92baa4254f47fd0b62d1d3f69e3b1ddb96dd32d3 /gr-utils/python/modtool/util_functions.py
parent5fd6b62702369e45ef01a02e12bec1afc5b57200 (diff)
parent3e052d303874a07237c4e0c31eef3f7f7a192835 (diff)
Merged in 'next' branch.
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 4ca294ac31..c40dbd73bb 100644
--- a/gr-utils/python/modtool/util_functions.py
+++ b/gr-utils/python/modtool/util_functions.py
@@ -92,7 +92,7 @@ def get_modname():
pass
# OK, there's no gnuradio.project. So, we need to guess.
cmfile = open('CMakeLists.txt', 'r').read()
- regexp = r'(project\s*\(\s*|GR_REGISTER_COMPONENT\(")gr-(?P<modname>[a-zA-Z1-9-_]+)(\s*(CXX)?|" ENABLE)'
+ regexp = r'(project\s*\(\s*|GR_REGISTER_COMPONENT\(")gr-(?P<modname>[a-zA-Z0-9-_]+)(\s*(CXX)?|" ENABLE)'
try:
modname = re.search(regexp, cmfile, flags=re.MULTILINE).group('modname').strip()
if modname in modname_trans.keys():