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]
|
vmname = args[0]
|
||||||
vm = qvm_collection.get_vm_by_name(vmname)
|
vm = qvm_collection.get_vm_by_name(vmname)
|
||||||
if vm is None:
|
if vm is None:
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
print >> sys.stdout, "A VM with the name '{0}' does not exist in the system!".format(vmname)
|
print >> sys.stdout, "A VM with the name '{0}' does not exist in the system!".format(vmname)
|
||||||
exit(1)
|
exit(1)
|
||||||
|
|
||||||
else:
|
else:
|
||||||
if options.verbose:
|
if options.verbose:
|
||||||
print >> sys.stdout, "A VM with the name '{0}' is exist.".format(vmname)
|
print >> sys.stdout, "A VM with the name '{0}' is exist.".format(vmname)
|
||||||
exit(0)
|
exit(0)
|
||||||
|
|
||||||
main()
|
main()
|
||||||
|
Loading…
Reference in New Issue
Block a user