aboutsummaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorKeir Fraser <keir@xensource.com>2007-03-31 12:26:04 +0100
committerKeir Fraser <keir@xensource.com>2007-03-31 12:26:04 +0100
commit29f999ff69fea4aa73d3a85c399d78159db876d7 (patch)
tree2712677e6c2bc0e06f32abf84ad4de354d39b1fc /tools
parentf5db79b2946413bba1eb0c776ce03e4879f3fb67 (diff)
downloadxen-29f999ff69fea4aa73d3a85c399d78159db876d7.tar.gz
xen-29f999ff69fea4aa73d3a85c399d78159db876d7.tar.bz2
xen-29f999ff69fea4aa73d3a85c399d78159db876d7.zip
xm: Fix an indentation bug.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/python/xen/xm/main.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/tools/python/xen/xm/main.py b/tools/python/xen/xm/main.py
index 34a3a5d516..940a97034e 100644
--- a/tools/python/xen/xm/main.py
+++ b/tools/python/xen/xm/main.py
@@ -929,10 +929,10 @@ def xm_label_list(doms):
if security.active_policy not in ['INACTIVE', 'NULL', 'DEFAULT']:
if not d['seclabel']:
d['seclabel'] = 'ERROR'
- elif security.active_policy in ['DEFAULT']:
- d['seclabel'] = 'DEFAULT'
- else:
- d['seclabel'] = 'INACTIVE'
+ elif security.active_policy in ['DEFAULT']:
+ d['seclabel'] = 'DEFAULT'
+ else:
+ d['seclabel'] = 'INACTIVE'
output.append((format % d, d['seclabel']))