public inbox for
help / color / mirror / Atom feed
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20181020-8-gd7cbb40
Date: Fri, 29 Mar 2019 19:10:00 -0000	[thread overview]
Message-ID: <> (raw);h=d7cbb403c6b7b48b0b161ee4372aeb47abacf485

commit d7cbb403c6b7b48b0b161ee4372aeb47abacf485
Author: Jon Turney <>
Date:   Fri Mar 29 18:34:11 2019 +0000

    Tolerate an empty override.hint
    Unlike pvr.hint, it can be valid if it doesn't contain anything;h=c57125f8ab921d41028a78c150211c1c49765088

commit c57125f8ab921d41028a78c150211c1c49765088
Author: Jon Turney <>
Date:   Fri Mar 29 18:24:12 2019 +0000

    Fix a bit of spammy IRC reporting

 calm/    |    3 ++-
 calm/ |    2 +-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/calm/ b/calm/
index b5eeaca..36a865f 100755
--- a/calm/
+++ b/calm/
@@ -530,7 +530,8 @@ def do_daemon(args, state):
                         logging.error("not processing uploads or writing setup.ini")
                         if read_uploads:
-                            irk.irk("calm processing uploads")
+                            if last_signal != signal.SIGALRM:
+                                irk.irk("calm processing uploads")
                             # read uploads on SIGUSR1
                             read_uploads = False
                             state.packages = process_uploads(args, state)
diff --git a/calm/ b/calm/
index 5e43f24..c90d955 100755
--- a/calm/
+++ b/calm/
@@ -198,7 +198,7 @@ def read_package(packages, basedir, dirpath, files, remove=[], upload=False):
         if 'override.hint' in files:
             # read override.hint
             override_hints = read_hints(p, os.path.join(dirpath, 'override.hint'), hint.override)
-            if not override_hints:
+            if override_hints is None:
                 logging.error("error parsing %s" % (os.path.join(dirpath, 'override.hint')))
                 return True

                 reply	other threads:[~2019-03-29 19:10 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).