Skip to content

Commit 204aace

Browse files
committed
Reformatted with black
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
1 parent 59199e9 commit 204aace

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

src/cfengine_cli/main.py

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,13 +108,15 @@ def validate_args(args):
108108
if args.command == "dev" and args.dev_command is None:
109109
raise UserError("Missing subcommand - cfengine dev <subcommand>")
110110

111+
111112
def _main():
112113
args = get_args()
113114
if args.log_level:
114115
log.set_level(args.log_level)
115116
validate_args(args)
116117
return run_command_with_args(args)
117118

119+
118120
def main():
119121
if os.getenv("CFBACKTRACE") == "1":
120122
r = _main()
@@ -155,7 +157,9 @@ def main():
155157
print("Error: " + message)
156158
except CFBSProgrammerError as e:
157159
print("Error: " + str(e))
158-
print(" This is an unexpected error indicating a bug, please create a ticket at:")
160+
print(
161+
" This is an unexpected error indicating a bug, please create a ticket at:"
162+
)
159163
print(" https://northerntech.atlassian.net/")
160164
print(
161165
" (Rerun with CFBACKTRACE=1 in front of your command to show the full backtrace)"

0 commit comments

Comments
 (0)