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>2018-01-23 18:46:09 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2018-01-23 19:15:51 +0300
commitba59c8e0ce0aebc933aa0e51724d6e8f6e2f1378 (patch)
tree566a1b739c701e2b7d58f5239d89707b951f17ab
parent730c7eebef23c43e30542da192b9616f1062a0c5 (diff)
Don't terminate with an exception after an invalid override.hint
-rwxr-xr-xcalm/package.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/calm/package.py b/calm/package.py
index bd6768d..e50d7bb 100755
--- a/calm/package.py
+++ b/calm/package.py
@@ -198,6 +198,8 @@ def read_package(packages, basedir, dirpath, files, strict=False, remove=[], upl
if 'override.hint' in files:
# read override.hint
override_hints = read_hints(p, os.path.join(dirpath, 'override.hint'), hint.override)
+ if not override_hints:
+ return True
files.remove('override.hint')
else:
override_hints = {}