ia64/xen-unstable

changeset 16259:0fa1643c48ff

xend, acm: Fix bad indentation
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir@xensource.com>
date Mon Oct 29 08:45:58 2007 +0000 (2007-10-29)
parents aa56bb2fe7d9
children 752d6e94a4c0
files tools/python/xen/util/xsm/acm/acm.py
line diff
     1.1 --- a/tools/python/xen/util/xsm/acm/acm.py	Fri Oct 26 17:16:14 2007 +0100
     1.2 +++ b/tools/python/xen/util/xsm/acm/acm.py	Mon Oct 29 08:45:58 2007 +0000
     1.3 @@ -1377,9 +1377,9 @@ def get_security_label(self, xspol=None)
     1.4          from xen.xend.XendXSPolicyAdmin import XSPolicyAdminInstance
     1.5          xspol = XSPolicyAdminInstance().get_loaded_policy()
     1.6  
     1.7 -        label = ""
     1.8 -        if xspol:
     1.9 -            label = xspol.policy_get_domain_label_formatted(domid)
    1.10 -        if domid != 0:
    1.11 -            label = self.info.get('security_label', label)
    1.12 +    label = ""
    1.13 +    if xspol:
    1.14 +        label = xspol.policy_get_domain_label_formatted(domid)
    1.15 +    if domid != 0:
    1.16 +        label = self.info.get('security_label', label)
    1.17      return label