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
|