Fix style else-return
This commit is contained in:
parent
7a948c7f19
commit
acd5f2e524
@ -45,10 +45,11 @@ def main(args=None, app=None): # pylint: disable=missing-docstring
|
|||||||
if args.no_confirm or go_ahead == "Y":
|
if args.no_confirm or go_ahead == "Y":
|
||||||
for vm in args.domains:
|
for vm in args.domains:
|
||||||
del args.app.domains[vm.name]
|
del args.app.domains[vm.name]
|
||||||
return 0
|
retcode = 0
|
||||||
else:
|
else:
|
||||||
print("Remove cancelled.")
|
print("Remove cancelled.")
|
||||||
return 1
|
retcode = 1
|
||||||
|
return retcode
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user