summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/tools/cmakefile_editor.py
diff options
context:
space:
mode:
authoralekhgupta1441 <alekhgupta1441@gmail.com>2020-04-10 22:40:23 +0530
committerMichael Dickens <michael.dickens@ettus.com>2020-04-19 15:33:41 -0400
commita69c2528eb618739308a147c5b4a450be922bb5f (patch)
treec7438b34743433bd895ab523790357861f369d43 /gr-utils/modtool/tools/cmakefile_editor.py
parentcc43c1d9259b2156c94f7ac1aa0ae543a9438c5f (diff)
Code Cleanup tools files
Diffstat (limited to 'gr-utils/modtool/tools/cmakefile_editor.py')
-rw-r--r--gr-utils/modtool/tools/cmakefile_editor.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gr-utils/modtool/tools/cmakefile_editor.py b/gr-utils/modtool/tools/cmakefile_editor.py
index f0b50a6354..623922f0f3 100644
--- a/gr-utils/modtool/tools/cmakefile_editor.py
+++ b/gr-utils/modtool/tools/cmakefile_editor.py
@@ -136,6 +136,6 @@ class CMakeFileEditor(object):
def check_for_glob(self, globstr):
""" Returns true if a glob as in globstr is found in the cmake file """
- str_=globstr.replace('*', r'\*')
+ str_ = globstr.replace('*', r'\*')
glob_re = fr'GLOB\s[a-z_]+\s"{str_}"'
return re.search(glob_re, self.cfile, flags=re.MULTILINE|re.IGNORECASE) is not None