Fix tabs
This commit is contained in:
parent
588784ca71
commit
c42e999114
1 changed files with 5 additions and 5 deletions
10
cloud/virt
10
cloud/virt
|
@ -281,11 +281,11 @@ class Virt(object):
|
|||
results = []
|
||||
for x in vms:
|
||||
try:
|
||||
if state:
|
||||
vmstate = self.conn.get_status2(x)
|
||||
if vmstate == state:
|
||||
results.append(x.name())
|
||||
else:
|
||||
if state:
|
||||
vmstate = self.conn.get_status2(x)
|
||||
if vmstate == state:
|
||||
results.append(x.name())
|
||||
else:
|
||||
results.append(x.name())
|
||||
except:
|
||||
pass
|
||||
|
|
Loading…
Reference in a new issue