diff options
Diffstat (limited to 'catalyst/support.py')
-rw-r--r-- | catalyst/support.py | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/catalyst/support.py b/catalyst/support.py index 7743b142..6f49d4bf 100644 --- a/catalyst/support.py +++ b/catalyst/support.py @@ -64,8 +64,11 @@ def file_check(filepath, extensions=None, strict=True): # so check if there are files of that name with an extension files = glob.glob("%s.*" % filepath) # remove any false positive files - files = [x for x in files if not x.endswith(".CONTENTS") and not - x.endswith(".CONTENTS.gz") and not x.endswith(".DIGESTS")] + files = [x for x in files if + not x.endswith(".CONTENTS") and + not x.endswith(".CONTENTS.gz") and + not x.endswith(".DIGESTS") and + not x.endswith(".sha256")] if len(files) is 1: return files[0] |