From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 91438 invoked by alias); 30 Jul 2016 11:53:38 -0000 Mailing-List: contact cygwin-apps-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: cygwin-apps-cvs-owner@sourceware.org Received: (qmail 91371 invoked by uid 9795); 30 Jul 2016 11:53:33 -0000 Date: Sat, 30 Jul 2016 11:53:00 -0000 Message-ID: <20160730115333.91344.qmail@sourceware.org> From: jturney@sourceware.org To: cygwin-apps-cvs@sourceware.org Subject: [calm - Cygwin server-side packaging maintenance script] branch master, updated. 20160705-5-gd7885fe X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: 17392fb24bce5dc310a303b681dbcd68f693b89c X-Git-Newrev: d7885fef7189eec8265a55507553e9b76fc31267 X-SW-Source: 2016-q3/txt/msg00008.txt.bz2 https://sourceware.org/git/gitweb.cgi?p=cygwin-apps/calm.git;h=d7885fef7189eec8265a55507553e9b76fc31267 commit d7885fef7189eec8265a55507553e9b76fc31267 Author: Jon Turney 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: