summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard W.M. Jones <rjones@redhat.com>2009-05-13 18:03:41 +0100
committerRichard W.M. Jones <rjones@redhat.com>2009-05-13 18:03:41 +0100
commit5d628a4a9cc11eb9a61a1dc683aadca9ac378736 (patch)
tree74f57429a9f2ec2dd3358ab333a66fef22c9156c /python
parente8ecc08f663b44f3d79517affe52f137858dfe00 (diff)
downloadlibguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.tar.gz
libguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.tar.xz
libguestfs-5d628a4a9cc11eb9a61a1dc683aadca9ac378736.zip
Don't stash strings in the handle.
- makes it impossible to write bindings for set_{path,qemu,append} functions
Diffstat (limited to 'python')
-rw-r--r--python/guestfs.py12
1 files changed, 0 insertions, 12 deletions
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).
"""