diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-11-20 14:14:20 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-11-20 14:14:20 +0000 |
commit | c014d5785e7796bfd9bb7cd37de05b41c272f60b (patch) | |
tree | ff22a2ba431cbf3a6c7277788efa2c52ba5785d4 /tools | |
parent | ee324ed5c456fcc35d1fa8746fac920f74e04f5a (diff) | |
download | xen-c014d5785e7796bfd9bb7cd37de05b41c272f60b.tar.gz xen-c014d5785e7796bfd9bb7cd37de05b41c272f60b.tar.bz2 xen-c014d5785e7796bfd9bb7cd37de05b41c272f60b.zip |
xenapi: fix valid_object typo
Signed-off-by: Zhigang Wang <zhigang.x.wang@oracle.com>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/python/xen/xend/XendAPI.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/python/xen/xend/XendAPI.py b/tools/python/xen/xend/XendAPI.py index 42e131be37..71aac01f90 100644 --- a/tools/python/xen/xend/XendAPI.py +++ b/tools/python/xen/xend/XendAPI.py @@ -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 |