diff options
author | Masami HIRATA <msmhrt@gmail.com> | 2012-08-25 22:31:29 +0900 |
---|---|---|
committer | Richard W.M. Jones <rjones@redhat.com> | 2012-08-25 10:56:13 -0400 |
commit | 670e4f7f1286f8a6872b3731eb6120f3d48e9dfe (patch) | |
tree | 76ca1ba95a3c9ee937ec428c5d93efc99735c8ae | |
parent | c638e1f03d2700560fe32c0889224ac29bd52334 (diff) | |
download | libguestfs-670e4f7f1286f8a6872b3731eb6120f3d48e9dfe.tar.gz libguestfs-670e4f7f1286f8a6872b3731eb6120f3d48e9dfe.tar.xz libguestfs-670e4f7f1286f8a6872b3731eb6120f3d48e9dfe.zip |
python: Fixed syntax errors in python/guestfs-py.c
Signed-off-by: Masami HIRATA <msmhrt@gmail.com>
-rw-r--r-- | generator/generator_python.ml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/generator_python.ml b/generator/generator_python.ml index dc9cbca8..b11df6ee 100644 --- a/generator/generator_python.ml +++ b/generator/generator_python.ml @@ -391,7 +391,7 @@ free_strings (char **argv) pr " optargs_s.%s = PyString_AsString (py_%s);\n" n n; pr "#else\n"; pr " PyObject *bytes;\n"; - pr " bytes = PyUnicode_AsUTF8String (py_%s));\n" n; + pr " bytes = PyUnicode_AsUTF8String (py_%s);\n" n; pr " optargs_s.%s = PyBytes_AS_STRING (bytes);\n" n; pr "#endif\n"; | OStringList _ -> |