From: Stefan Berger Subject: [PATCH] [XM] Fix an indentation problem Date: Fri, 30 Mar 2007 21:44:55 -0400 Message-ID: <1175305495.3421.1.camel@941e-2.watson.ibm.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-HLml01m+PfSeQ3GGFjIr" Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: xen-devel Cc: Ewan Mellor List-Id: xen-devel@lists.xenproject.org --=-HLml01m+PfSeQ3GGFjIr Content-Type: text/plain Content-Transfer-Encoding: 7bit This fixes a bug due to indentation. Signed-off-by: Stefan Berger --=-HLml01m+PfSeQ3GGFjIr Content-Disposition: attachment; filename=xm_main_label_display_fix.diff Content-Type: text/x-patch; name=xm_main_label_display_fix.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit 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'])) --=-HLml01m+PfSeQ3GGFjIr Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel --=-HLml01m+PfSeQ3GGFjIr--