From: Jim Meyering Date: Mon, 17 Aug 2009 06:49:00 +0000 (+0200) Subject: generator.ml: emit slightly prettier code X-Git-Tag: 1.0.68~46 X-Git-Url: http://git.annexia.org/?a=commitdiff_plain;h=7793f8eda6b26002cb751503928e06f7b9c4a7d2;p=libguestfs.git generator.ml: emit slightly prettier code * src/generator.ml: Emit a few omitted newlines. --- diff --git a/src/generator.ml b/src/generator.ml index c4be1ed..fef03a8 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;