From: Stefan Berger Subject: [PATCH] [Xend] Fix a typo in PIF Xen-API code Date: Mon, 18 Aug 2008 20:52:32 -0400 Message-ID: <1219107152.23118.2.camel@gsal-3.watson.ibm.com> Reply-To: stefanb@us.ibm.com Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-5NDgSB3Sbl3uVI5eJ0Q9" 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: Keir Fraser List-Id: xen-devel@lists.xenproject.org --=-5NDgSB3Sbl3uVI5eJ0Q9 Content-Type: text/plain Content-Transfer-Encoding: 7bit This fixes a typo in the PIF class of the Xen-API code. Signed-off-by: Stefan Berger --=-5NDgSB3Sbl3uVI5eJ0Q9 Content-Disposition: attachment; filename=pif_fix_typo.diff Content-Type: text/x-patch; name=pif_fix_typo.diff; charset=UTF-8 Content-Transfer-Encoding: 7bit Index: root/xen-unstable.hg/tools/python/xen/xend/XendPIF.py =================================================================== --- root.orig/xen-unstable.hg/tools/python/xen/xend/XendPIF.py +++ root/xen-unstable.hg/tools/python/xen/xend/XendPIF.py @@ -101,7 +101,7 @@ def linux_get_mtu(device): def linux_get_mac(device): return _linux_get_pif_param(device, 'link/ether') -def _linux_get_pif_parm(device, param_name): +def _linux_get_pif_param(device, param_name): ip_get_dev_data = 'ip link show %s' % device rc, output = commands.getstatusoutput(ip_get_dev_data) if rc == 0: --=-5NDgSB3Sbl3uVI5eJ0Q9 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 --=-5NDgSB3Sbl3uVI5eJ0Q9--