[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [sbws/master] New config options were still unknown



commit cfbae1762a6da383a539d88444e8b6cc05cce264
Author: Matt Traudt <sirmatt@xxxxxxx>
Date:   Wed Jun 20 09:28:26 2018 -0400

    New config options were still unknown
---
 sbws/util/config.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/sbws/util/config.py b/sbws/util/config.py
index 2ea9e94..faedbd5 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -141,7 +141,8 @@ def _validate_general(conf):
         'reset_bw_ipv4_changes': {},
         'reset_bw_ipv6_changes': {},
     }
-    all_valid_keys = list(ints.keys()) + list(floats.keys())
+    all_valid_keys = list(ints.keys()) + list(floats.keys()) + \
+        list(bools.keys())
     errors.extend(_validate_section_keys(conf, sec, all_valid_keys, err_tmpl))
     errors.extend(_validate_section_ints(conf, sec, ints, err_tmpl))
     errors.extend(_validate_section_floats(conf, sec, floats, err_tmpl))



_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits