Skip to content

Commit

Permalink
Updated coding style.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paebbels committed Jul 30, 2023
1 parent 083f003 commit 2859eda
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions pyEDAA/ToolSetup/CLI/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -129,9 +129,9 @@ def HandleDefault(self, _):
def HandleHelp(self, args):
self.PrintHeadline()

if (args.Command is None):
if args.Command is None:
self.MainParser.print_help()
elif (args.Command == "help"):
elif args.Command == "help":
self.WriteError("This is a recursion ...")
else:
try:
Expand Down Expand Up @@ -193,10 +193,10 @@ def main(): # mccabe:disable=MC0001
# elif isinstance(cause, ParserException):
# print("{YELLOW} ParserException:{NOCOLOR} {cause}".format(cause=str(cause), **Init.Foreground))
# cause = cause.__cause__
# if (cause is not None):
# if cause is not None:
# print("{YELLOW} {name}:{NOCOLOR} {cause}".format(name=cause.__class__.__name__, cause= str(cause), **Init.Foreground))
#
# if (not (verbose or debug)):
# if not (verbose or debug):
# print()
# print("{CYAN} Use '-v' for verbose or '-d' for debug to print out extended messages.{NOCOLOR}".format(**Init.Foreground))
# LineTerminal.exit(1)
Expand Down

0 comments on commit 2859eda

Please sign in to comment.