Fix style else-return

This commit is contained in:
Christopher Laprise 2018-01-05 23:13:24 -05:00
parent 7a948c7f19
commit acd5f2e524
No known key found for this signature in database
GPG Key ID: 448568C8B281C952

View File

@ -45,10 +45,11 @@ def main(args=None, app=None): # pylint: disable=missing-docstring
if args.no_confirm or go_ahead == "Y":
for vm in args.domains:
del args.app.domains[vm.name]
return 0
retcode = 0
else:
print("Remove cancelled.")
return 1
retcode = 1
return retcode