Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/cygwin-apps/calm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJon Turney <jon.turney@dronecode.org.uk>2016-07-30 14:47:59 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2016-07-30 14:48:39 +0300
commitd7885fef7189eec8265a55507553e9b76fc31267 (patch)
tree61f3d652a842c5df506547b2561116f1ab17a0de
parent17392fb24bce5dc310a303b681dbcd68f693b89c (diff)
Fix check for attempt to remove setup.hint20160730
-rw-r--r--calm/uploads.py2
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: