summaryrefslogtreecommitdiff
path: root/gr-utils/modtool/cli/base.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/base.py
parentcb4f4648815c005788a1879bdb10c58228736808 (diff)
Code Cleanup cli files
Diffstat (limited to 'gr-utils/modtool/cli/base.py')
-rw-r--r--gr-utils/modtool/cli/base.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/gr-utils/modtool/cli/base.py b/gr-utils/modtool/cli/base.py
index 677d35f3f0..3cd0836ad0 100644
--- a/gr-utils/modtool/cli/base.py
+++ b/gr-utils/modtool/cli/base.py
@@ -31,8 +31,7 @@ class ModToolException(ClickException):
""" Exception class for enhanced CLI interface """
def show(self, file = None):
""" displays the colored message """
- mesg_=self.format_message()
- click.secho(f'ModToolException: {mesg_}', fg='red')
+ click.secho(f'ModToolException: {self.format_message()}', fg='red')
class CommandCLI(click.Group):