summaryrefslogtreecommitdiffstats
path: root/generator/python.ml
diff options
context:
space:
mode:
Diffstat (limited to 'generator/python.ml')
-rw-r--r--generator/python.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/generator/python.ml b/generator/python.ml
index 39750557..0e754db6 100644
--- a/generator/python.ml
+++ b/generator/python.ml
@@ -160,7 +160,7 @@ free_strings (char **argv)
(* Structures, turned into Python dictionaries. *)
List.iter (
- fun (typ, cols) ->
+ fun { s_name = typ; s_cols = cols } ->
pr "static PyObject *\n";
pr "put_%s (struct guestfs_%s *%s)\n" typ typ typ;
pr "{\n";