mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
Fix tabs
This commit is contained in:
parent
a61978aed9
commit
e97f789913
1 changed files with 5 additions and 5 deletions
|
@ -281,11 +281,11 @@ class Virt(object):
|
||||||
results = []
|
results = []
|
||||||
for x in vms:
|
for x in vms:
|
||||||
try:
|
try:
|
||||||
if state:
|
if state:
|
||||||
vmstate = self.conn.get_status2(x)
|
vmstate = self.conn.get_status2(x)
|
||||||
if vmstate == state:
|
if vmstate == state:
|
||||||
results.append(x.name())
|
results.append(x.name())
|
||||||
else:
|
else:
|
||||||
results.append(x.name())
|
results.append(x.name())
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue