diff -r b0b20a09d253 tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Fri Mar 30 19:02:40 2007 +0100 +++ b/tools/python/xen/xm/main.py Fri Mar 30 21:43:31 2007 -0400 @@ -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']))