ia64/xen-unstable

changeset 18816:368e072feb29

xenapi: fix valid_object typo

Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
author Keir Fraser <keir.fraser@citrix.com>
date Thu Nov 20 14:14:20 2008 +0000 (2008-11-20)
parents 98d48f7680db
children e3a0c3c9fd7b
files tools/python/xen/xend/XendAPI.py
line diff
     1.1 --- a/tools/python/xen/xend/XendAPI.py	Wed Nov 19 19:13:22 2008 +0000
     1.2 +++ b/tools/python/xen/xend/XendAPI.py	Thu Nov 20 14:14:20 2008 +0000
     1.3 @@ -431,7 +431,7 @@ def valid_object(class_name):
     1.4             lambda *args, **kwargs: \
     1.5             _check_ref(lambda r: \
     1.6                            XendAPIStore.get(r, class_name) is not None,
     1.7 -                      'PIF', func, *args, **kwargs)
     1.8 +                      class_name, func, *args, **kwargs)
     1.9  
    1.10  # -----------------------------
    1.11  # Bridge to Legacy XM API calls