summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/core/base.py
diff options
context:
space:
mode:
authoralekhgupta1441 <alekhgupta1441@gmail.com>2020-04-10 22:40:06 +0530
committerMichael Dickens <michael.dickens@ettus.com>2020-04-19 15:33:41 -0400
commitcc43c1d9259b2156c94f7ac1aa0ae543a9438c5f (patch)
treeb3183afb29788fc6f2eac9df4b0366be22063280 /gr-utils/modtool/core/base.py
parent1b4fb83f717cba508d6f771b050b6634316508e4 (diff)
Code Cleanup core files
Diffstat (limited to 'gr-utils/modtool/core/base.py')
-rw-r--r--gr-utils/modtool/core/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-utils/modtool/core/base.py b/gr-utils/modtool/core/base.py
index d8c92e9128..c867dbd6e9 100644
--- a/gr-utils/modtool/core/base.py
+++ b/gr-utils/modtool/core/base.py
@@ -129,8 +129,7 @@ class ModTool(object):
self.info['pydir'] = 'python'
if os.path.isdir(os.path.join('python', self.info['modname'])):
self.info['pydir'] = os.path.join('python', self.info['modname'])
- modn_=self.info['modname']
- self._file['qalib'] = os.path.join('lib', f'qa_{modn_}.cc')
+ self._file['qalib'] = os.path.join('lib', f'qa_{self.info["modname"]}.cc')
self._file['pyinit'] = os.path.join(self.info['pydir'], '__init__.py')
self._file['cmlib'] = os.path.join('lib', 'CMakeLists.txt')
self._file['cmgrc'] = os.path.join('grc', 'CMakeLists.txt')