ia64/xen-unstable

changeset 14682:2de267ba9a76

xm: Fix an indentation bug.
Signed-off-by: Stefan Berger <stefanb@us.ibm.com>
author Keir Fraser <keir@xensource.com>
date Sat Mar 31 12:26:04 2007 +0100 (2007-03-31)
parents 6898d8ae7ae4
children 7180d2e61f92
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Sat Mar 31 12:24:55 2007 +0100
     1.2 +++ b/tools/python/xen/xm/main.py	Sat Mar 31 12:26:04 2007 +0100
     1.3 @@ -929,10 +929,10 @@ def xm_label_list(doms):
     1.4              if security.active_policy not in ['INACTIVE', 'NULL', 'DEFAULT']:
     1.5                  if not d['seclabel']:
     1.6                      d['seclabel'] = 'ERROR'
     1.7 -                elif security.active_policy in ['DEFAULT']:
     1.8 -                    d['seclabel'] = 'DEFAULT'
     1.9 -                else:
    1.10 -                    d['seclabel'] = 'INACTIVE'
    1.11 +            elif security.active_policy in ['DEFAULT']:
    1.12 +                d['seclabel'] = 'DEFAULT'
    1.13 +            else:
    1.14 +                d['seclabel'] = 'INACTIVE'
    1.15  
    1.16              output.append((format % d, d['seclabel']))
    1.17