Skip to contentSkip to conversation

fix valid_object typo

PATCH New Zhigang Wang 1 participant 1 message Nov 20, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fix valid_object typo

tools/python/xen/xend/XendAPI.py renamed from tools/python/xen/xend/XendAPI.py.orig +1 -1
@@ -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
[email protected]
http://lists.xensource.com/xen-devel