From 5d628a4a9cc11eb9a61a1dc683aadca9ac378736 Mon Sep 17 00:00:00 2001 From: "Richard W.M. Jones" Date: Wed, 13 May 2009 18:03:41 +0100 Subject: Don't stash strings in the handle. - makes it impossible to write bindings for set_{path,qemu,append} functions --- python/guestfs.py | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'python') diff --git a/python/guestfs.py b/python/guestfs.py index 324dea56..e61ba656 100644 --- a/python/guestfs.py +++ b/python/guestfs.py @@ -152,10 +152,6 @@ class GuestFS: You can also override this by setting the "LIBGUESTFS_QEMU" environment variable. - The string "qemu" is stashed in the libguestfs handle, - so the caller must make sure it remains valid for the - lifetime of the handle. - Setting "qemu" to "NULL" restores the default qemu binary. """ @@ -176,10 +172,6 @@ class GuestFS: The default is "$libdir/guestfs" unless overridden by setting "LIBGUESTFS_PATH" environment variable. - The string "path" is stashed in the libguestfs handle, - so the caller must make sure it remains valid for the - lifetime of the handle. - Setting "path" to "NULL" restores the default path. """ return libguestfsmod.set_path (self._o, path) @@ -199,10 +191,6 @@ class GuestFS: The default is "NULL" unless overridden by setting "LIBGUESTFS_APPEND" environment variable. - The string "append" is stashed in the libguestfs handle, - so the caller must make sure it remains valid for the - lifetime of the handle. - Setting "append" to "NULL" means *no* additional options are passed (libguestfs always adds a few of its own). """ -- cgit