Skip to content

Commit

Permalink
lxc module: use spaces, not tabs
Browse files Browse the repository at this point in the history
  • Loading branch information
mgwilliams committed Feb 11, 2014
1 parent 215372e commit e80b25c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions salt/modules/lxc.py
Original file line number Diff line number Diff line change
Expand Up @@ -291,8 +291,8 @@ def list_():
for c in ctnrs:
lines = __salt__['cmd.run']('lxc-info -n ' + c).splitlines()

for line in lines:
stat = line.split(':')
for line in lines:
stat = line.split(':')
if stat[0] == 'state':
s = stat[1].strip()
break
Expand Down

0 comments on commit e80b25c

Please sign in to comment.