summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
authorRichard Jones <rjones@redhat.com>2009-04-18 13:17:12 +0100
committerRichard Jones <rjones@redhat.com>2009-04-18 13:17:12 +0100
commit1765330e07a48dc6f7bdef7007f69ebe606fa731 (patch)
tree659ce188bbe1a0568fc4b58504c6de025b9b2e3d /python
parent92804dec7c4982d2039f81586bc4a5cacb46217b (diff)
downloadlibguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.gz
libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.tar.xz
libguestfs-1765330e07a48dc6f7bdef7007f69ebe606fa731.zip
Rewrite of main loop impl, start of FileIn/FileOut support.
Diffstat (limited to 'python')
-rw-r--r--python/guestfs-py.c1
-rw-r--r--python/guestfs.py2
2 files changed, 1 insertions, 2 deletions
diff --git a/python/guestfs-py.c b/python/guestfs-py.c
index c8df178d..09d42707 100644
--- a/python/guestfs-py.c
+++ b/python/guestfs-py.c
@@ -103,7 +103,6 @@ put_table (char * const * const argv)
list = PyList_New (argc >> 1);
for (i = 0; i < argc; i += 2) {
- PyObject *item;
item = PyTuple_New (2);
PyTuple_SetItem (item, 0, PyString_FromString (argv[i]));
PyTuple_SetItem (item, 1, PyString_FromString (argv[i+1]));
diff --git a/python/guestfs.py b/python/guestfs.py
index 9739fa56..0a4c3960 100644
--- a/python/guestfs.py
+++ b/python/guestfs.py
@@ -236,7 +236,7 @@ class GuestFS:
Note that this function cannot correctly handle binary
files (specifically, files containing "\\0" character
which is treated as end of string). For those you need
- to use the "g.read_file" function which has a more
+ to use the "g.download" function which has a more
complex interface.
Because of the message protocol, there is a transfer