From d7885fef7189eec8265a55507553e9b76fc31267 Mon Sep 17 00:00:00 2001 From: Jon Turney Date: Sat, 30 Jul 2016 12:47:59 +0100 Subject: Fix check for attempt to remove setup.hint --- calm/uploads.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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: -- cgit v1.2.3