]> xenbits.xensource.com Git - xen.git/commitdiff
xm: Fix an indentation bug.
authorKeir Fraser <keir@xensource.com>
Sat, 31 Mar 2007 11:26:04 +0000 (12:26 +0100)
committerKeir Fraser <keir@xensource.com>
Sat, 31 Mar 2007 11:26:04 +0000 (12:26 +0100)
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
tools/python/xen/xm/main.py

index 34a3a5d51656083271ad3731948877da1cbbc87d..940a97034e372302ea612e8926c2cf0da7ab3bab 100644 (file)
@@ -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']))