diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2016-07-30 14:47:59 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2016-07-30 14:48:39 +0300 |
commit | d7885fef7189eec8265a55507553e9b76fc31267 (patch) | |
tree | 61f3d652a842c5df506547b2561116f1ab17a0de | |
parent | 17392fb24bce5dc310a303b681dbcd68f693b89c (diff) |
Fix check for attempt to remove setup.hint20160730
-rw-r--r-- | 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: |