summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2009-08-17 08:49:00 +0200
committerJim Meyering <meyering@redhat.com>2009-08-17 11:40:24 +0200
commit7793f8eda6b26002cb751503928e06f7b9c4a7d2 (patch)
tree459d90911422320c97bda29e7cef5a0998b8c320
parent31053d2027d3db9423edcfc70a725b6ca3a7c84c (diff)
downloadlibguestfs-7793f8eda6b26002cb751503928e06f7b9c4a7d2.tar.gz
libguestfs-7793f8eda6b26002cb751503928e06f7b9c4a7d2.tar.xz
libguestfs-7793f8eda6b26002cb751503928e06f7b9c4a7d2.zip
generator.ml: emit slightly prettier code
* src/generator.ml: Emit a few omitted newlines.
-rwxr-xr-xsrc/generator.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/generator.ml b/src/generator.ml
index c4be1ed8..fef03a81 100755
--- a/src/generator.ml
+++ b/src/generator.ml
@@ -4937,10 +4937,10 @@ and generate_daemon_actions () =
pr " ABS_PATH (%s, goto done);\n" n;
| Device n ->
pr_args n;
- pr " RESOLVE_DEVICE (%s, goto done);" n;
+ pr " RESOLVE_DEVICE (%s, goto done);\n" n;
| Dev_or_Path n ->
pr_args n;
- pr " REQUIRE_ROOT_OR_RESOLVE_DEVICE (%s, goto done);" n;
+ pr " REQUIRE_ROOT_OR_RESOLVE_DEVICE (%s, goto done);\n" n;
| String n -> pr_args n
| OptString n -> pr " %s = args.%s ? *args.%s : NULL;\n" n n n
| StringList n ->
@@ -7619,7 +7619,7 @@ py_guestfs_close (PyObject *self, PyObject *args)
typ name;
pr " else {\n";
pr " Py_INCREF (Py_None);\n";
- pr " PyDict_SetItemString (dict, \"%s\", Py_None);" name;
+ pr " PyDict_SetItemString (dict, \"%s\", Py_None);\n" name;
pr " }\n"
| name, FChar ->
pr " PyDict_SetItemString (dict, \"%s\",\n" name;