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-devel

[Xen-devel] [PATCH][XenAPI]fix valid_object typo

To: xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH][XenAPI]fix valid_object typo
From: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>
Date: Thu, 20 Nov 2008 16:14:41 +0800
Delivery-date: Thu, 20 Nov 2008 00:16:14 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 2.0.0.18 (X11/20081105)
Signed-off-by: Zhigang Wang <zhigang.x.wang@xxxxxxxxxx>


--- xen-unstable/tools/python/xen/xend/XendAPI.py.orig  2008-11-20 
16:08:53.000000000 +0800
+++ xen-unstable/tools/python/xen/xend/XendAPI.py       2008-11-20 
16:10:11.000000000 +0800
@@ -431,7 +431,7 @@ def valid_object(class_name):
            lambda *args, **kwargs: \
            _check_ref(lambda r: \
                           XendAPIStore.get(r, class_name) is not None,
-                      'PIF', func, *args, **kwargs)
+                      class_name, func, *args, **kwargs)
 
 # -----------------------------
 # Bridge to Legacy XM API calls
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH][XenAPI]fix valid_object typo, Zhigang Wang <=