Signed-off-by: Masami HIRATA <[email protected]>
---
 generator/generator_python.ml |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/generator/generator_python.ml b/generator/generator_python.ml
index dc9cbca..b11df6e 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 _ ->
-- 
1.7.9.6 (Apple Git-31.1)

_______________________________________________
Libguestfs mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/libguestfs

Reply via email to