diff options
-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 |