WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-3.0.4-testing] [XEND] Minor syntax cleanup in secur

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-3.0.4-testing] [XEND] Minor syntax cleanup in security.py for sxp parsing.
From: "Xen patchbot-3.0.4-testing" <patchbot-3.0.4-testing@xxxxxxxxxxxxxxxxxxx>
Date: Wed, 03 Jan 2007 14:15:38 -0800
Delivery-date: Wed, 03 Jan 2007 14:16:26 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User Alastair Tse <atse@xxxxxxxxxxxxx>
# Date 1166711617 0
# Node ID 4ead5a65e06326473ffe498acfd4d5d8e729e6ee
# Parent  603c3c80b299371179c0536fd8da5083f76ad0fc
[XEND] Minor syntax cleanup in security.py for sxp parsing.

Signed-off-by: Alastair Tse <atse@xxxxxxxxxxxxx>

Based on xen-unstable changeset 13124:43f367b6c16c211021ed51931a25ce351270d9d3
---
 tools/python/xen/util/security.py |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff -r 603c3c80b299 -r 4ead5a65e063 tools/python/xen/util/security.py
--- a/tools/python/xen/util/security.py Thu Dec 21 13:58:51 2006 +0000
+++ b/tools/python/xen/util/security.py Thu Dec 21 14:33:37 2006 +0000
@@ -115,7 +115,7 @@ def get_security_info(info, field):
     if isinstance(info, dict):
         security = info['security']
     elif isinstance(info, list):
-        security = sxp.child_value(info, 'security', )
+        security = sxp.child_value(info, 'security')
     if not security:
         if field == 'ssidref':
             #return default ssid
@@ -357,7 +357,7 @@ def refresh_ssidref(config):
     if isinstance(config, dict):
         security = config['security']
     elif isinstance(config, list):
-        security = sxp.child_value(config, 'security',)
+        security = sxp.child_value(config, 'security')
     else:
         err("Instance type of config parameter not supported.")
     if not security:

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] [xen-3.0.4-testing] [XEND] Minor syntax cleanup in security.py for sxp parsing., Xen patchbot-3.0.4-testing <=