qvm-tools: indentation fix in qvm-check
This commit is contained in:
parent
c8f4dc70e8
commit
ac9823e6f1
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user