Skip to contentSkip to conversation

Fix an indentation problem

PATCH New Stefan Berger 1 participant 1 message Mar 31, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix an indentation problem

This fixes a bug due to indentation.

tools/python/xen/xm/main.py +4 -4
diff -r b0b20a09d253 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']))
         

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel