diff options
author | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-03 00:34:40 -0700 |
---|---|---|
committer | Johnathan Corgan <johnathan@corganlabs.com> | 2013-04-03 00:34:40 -0700 |
commit | a412533333eabafa669e6eb660cafcf8785fe285 (patch) | |
tree | 0cc0c6e20a99064344ecc85891c191bccfd9d7a9 /gr-utils/python/modtool/util_functions.py | |
parent | 23a4ae0de47c2b45e0aeed7f396b73b786b25893 (diff) | |
parent | 17fa1031dca6e4a3cc2f90a0599944bba0b4c82c (diff) |
Merge branch 'master' into next
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 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(): |