qvm-tools: indentation fix in qvm-check

This commit is contained in:
Marek Marczykowski-Górecki 2013-12-11 21:28:04 +01:00
parent c8f4dc70e8
commit ac9823e6f1

View File

@ -44,13 +44,13 @@ def main():
vmname = args[0]
vm = qvm_collection.get_vm_by_name(vmname)
if vm is None:
if options.verbose:
print >> sys.stdout, "A VM with the name '{0}' does not exist in the system!".format(vmname)
exit(1)
if options.verbose:
print >> sys.stdout, "A VM with the name '{0}' does not exist in the system!".format(vmname)
exit(1)
else:
if options.verbose:
print >> sys.stdout, "A VM with the name '{0}' is exist.".format(vmname)
exit(0)
if options.verbose:
print >> sys.stdout, "A VM with the name '{0}' is exist.".format(vmname)
exit(0)
main()