public inbox for
help / color / mirror / Atom feed
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. c118ad8400827f35f2839051c4bc77221c840ad0
Date: Thu, 17 Mar 2016 23:24:00 -0000	[thread overview]
Message-ID: <> (raw);h=c118ad8400827f35f2839051c4bc77221c840ad0

commit c118ad8400827f35f2839051c4bc77221c840ad0
Author: Jon Turney <>
Date:   Thu Mar 17 23:22:40 2016 +0000

    Exit with non-zero status if we didn't write setup.ini due to a pre-existing package-set error

 calm |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/calm b/calm
index 340b569..fa095bd 100755
--- a/calm
+++ b/calm
@@ -76,7 +76,7 @@ def main(args):
         # validate the package set
         if not package.validate_packages(args, packages):
             logging.error("existing package set has errors, not processing uploads or writing setup.ini")
-            return
+            return 1
         # read maintainer list
         mlist =
@@ -132,6 +132,8 @@ def main(args):
         # XXX: perhaps we need a --[no]listing command line option to disable this from being run?
         pkg2html.update_package_listings(args, packages)
+        return 0
@@ -169,4 +171,4 @@ if __name__ == "__main__":
     if =',')
-    main(args)
+    sys.exit(main(args))

                 reply	other threads:[~2016-03-17 23:24 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \ \ \ \

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).