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-09-27 15:47:30 +0300
committerJon Turney <jon.turney@dronecode.org.uk>2016-09-27 15:51:52 +0300
commit9bdd081e6dbedbb8e9f4772091ea1d36a58cc421 (patch)
treefa8f80a0412e6484bb8544618beb5d938ce97ca6
parent432c17a62e7a5f7e89e64b8149524f9f5237ea5e (diff)
Actually permit the keep-count and keep-days keys in override.hint
The processing of them was implemented, but not the parsing...
-rwxr-xr-xcalm/hint.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/calm/hint.py b/calm/hint.py
index 68abbd7..cf0d94a 100755
--- a/calm/hint.py
+++ b/calm/hint.py
@@ -62,6 +62,11 @@ versionkeys = {
'test': 'val',
}
+overridekeys = {
+ 'keep-count': 'val',
+ 'keep-days': 'val',
+}
+
hintkeys = {}
hintkeys[setup] = merge_dicts(commonkeys, versionkeys, {
@@ -76,7 +81,7 @@ hintkeys[pvr] = merge_dicts(commonkeys, {
'build-depends': 'optval',
})
-hintkeys[override] = versionkeys
+hintkeys[override] = merge_dicts(versionkeys, overridekeys)
# valid categories
categories = ['accessibility',