mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
many places we were supporting keywords for calling the methods here, and never using that feature (especially where all the arguments were compulsory anyway) and in some places we were even accepting positional and keyword arguments, and not actually taking any arguments to the method at all! Fix the permission parsing string in xspy_set_permissions -- this would have blown up horribly if anyone were actually calling this code. Fix the documentation comments to include the transaction handle throughout. Have the self parameter to all the methods be an XsHandle, not a PyObject, to avoid casting. Remove unused pyvalue_int and pyvalue_str. Signed-off-by: Ewan Mellor <ewan@xensource.com>
The file test.py here is from the Zope project, and is Copyright (c) 2001, 2002 Zope Corporation and Contributors. This file is released under the Zope Public License, version 2.0, a copy of which is in the file ZPL-2.0.