From 4827f0b0475d525a964d69ce8e831610f08c6268 Mon Sep 17 00:00:00 2001 From: "Kenneth M. Elf Sternberg" Date: Wed, 21 Sep 2016 14:17:28 -0700 Subject: [PATCH] Using the already pruned list makes more sense here. --- git_lint_src/git_lint_options.hy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git_lint_src/git_lint_options.hy b/git_lint_src/git_lint_options.hy index 7d84507..99a213c 100644 --- a/git_lint_src/git_lint_options.hy +++ b/git_lint_src/git_lint_options.hy @@ -38,7 +38,7 @@ [exclude (reduce (fn [memo opt] (+ memo (if (> (len opt) 4) (get opt 4) []))) marked [])] [excluded (filter (fn [key] (in key exclude)) keys)] [cleaned (reduce (fn [memo key] - (if (not (in key exclude)) (assoc memo key (get config key))) memo) keys {})]] + (if (not (in key excluded)) (assoc memo key (get config key))) memo) keys {})]] (, cleaned excluded))) (defclass hyopt []