summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/cli/add.py
diff options
context:
space:
mode:
authoralekhgupta1441 <alekhgupta1441@gmail.com>2020-04-10 22:39:50 +0530
committerMichael Dickens <michael.dickens@ettus.com>2020-04-19 15:33:41 -0400
commit1b4fb83f717cba508d6f771b050b6634316508e4 (patch)
tree459aff270e4e7fdc8ee18b6b1de7d566b1a53e3f /gr-utils/modtool/cli/add.py
parentcb4f4648815c005788a1879bdb10c58228736808 (diff)
Code Cleanup cli files
Diffstat (limited to 'gr-utils/modtool/cli/add.py')
-rw-r--r--gr-utils/modtool/cli/add.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-utils/modtool/cli/add.py b/gr-utils/modtool/cli/add.py
index 9439c38dc9..8559a9b9c4 100644
--- a/gr-utils/modtool/cli/add.py
+++ b/gr-utils/modtool/cli/add.py
@@ -115,8 +115,7 @@ def get_copyrightholder(self):
with SequenceCompleter(copyright_candidates):
self.info['copyrightholder'] = cli_input("Please specify the copyright holder: ")
if not self.info['copyrightholder'] or self.info['copyrightholder'].isspace():
- inf_=self.info['modname']
- self.info['copyrightholder'] = f"gr-{inf_} author"
+ self.info['copyrightholder'] = f"gr-{self.info["modname"]} author"
elif self.info['is_component']:
click.secho("For GNU Radio components the FSF is added as copyright holder",
fg='cyan')