[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [sbws/master] Add runtime dir option in validate
commit ee1596eccf30778ff9e124590ed409980ec442f9
Author: juga0 <juga@xxxxxxxxxx>
Date: Tue Jul 24 17:39:01 2018 +0000
Add runtime dir option in validate
---
sbws/util/config.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/sbws/util/config.py b/sbws/util/config.py
index 50979b3..99c7d67 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -275,7 +275,7 @@ def _validate_tor(conf):
sec = 'tor'
err_tmpl = Template('$sec/$key ($val): $e')
unvalidated_keys = [
- 'datadir', 'control_socket', 'log', 'extra_lines']
+ 'datadir', 'run_dpath', 'control_socket', 'pid', 'log', 'extra_lines']
all_valid_keys = unvalidated_keys
errors.extend(_validate_section_keys(conf, sec, all_valid_keys, err_tmpl))
return errors
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits