summaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
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