Skip to contentSkip to conversation

Fix bad indentation

PATCH New Stefan Berger 1 participant 1 message Oct 26, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix bad indentation

This fixes some bad indentation.

---
 xen-unstable.hg/tools/python/xen/util/xsm/acm/acm.py |   10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)
xen-unstable.hg/tools/python/xen/util/xsm/acm/acm.py +5 -5
Index: root/xen-unstable.hg/tools/python/xen/util/xsm/acm/acm.py
===================================================================
@@ -1377,9 +1377,9 @@ def get_security_label(self, xspol=None)
         from xen.xend.XendXSPolicyAdmin import XSPolicyAdminInstance
         xspol = XSPolicyAdminInstance().get_loaded_policy()
 
-        label = ""
-        if xspol:
-            label = xspol.policy_get_domain_label_formatted(domid)
-        if domid != 0:
-            label = self.info.get('security_label', label)
+    label = ""
+    if xspol:
+        label = xspol.policy_get_domain_label_formatted(domid)
+    if domid != 0:
+        label = self.info.get('security_label', label)
     return label

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