public inbox for cygwin-apps-cvs@sourceware.org
help / color / mirror / Atom feed
From: jturney@sourceware.org
To: cygwin-apps-cvs@sourceware.org
Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-5-gd7885fe
Date: Sat, 30 Jul 2016 11:53:00 -0000	[thread overview]
Message-ID: <20160730115333.91344.qmail@sourceware.org> (raw)




https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=d7885fef7189eec8265a55507553e9b76fc31267

commit d7885fef7189eec8265a55507553e9b76fc31267
Author: Jon Turney <jon.turney@dronecode.org.uk>
Date:   Sat Jul 30 12:47:59 2016 +0100

    Fix check for attempt to remove setup.hint


Diff:
---
 calm/uploads.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/calm/uploads.py b/calm/uploads.py
index d2d75ee..dcf16a2 100644
--- a/calm/uploads.py
+++ b/calm/uploads.py
@@ -158,7 +158,7 @@ def scan(m, all_packages, arch, args):
                 elif os.path.getsize(fn) != 0:
                     logging.error("remove file %s is not empty" % fn)
                     error = True
-                elif f == 'setup.hint':
+                elif f == '-setup.hint':
                     logging.error("remove file %s is not permitted" % fn)
                     error = True
                 else:


                 reply	other threads:[~2016-07-30 11:53 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:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

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

  git send-email \
    --in-reply-to=20160730115333.91344.qmail@sourceware.org \
    --to=jturney@sourceware.org \
    --cc=cygwin-apps-cvs@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* 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).