[tor-commits] [sbws/master] Update docstring, it does not create user conf

pastly at torproject.org pastly at torproject.org
Thu Aug 9 14:21:20 UTC 2018


commit 849f2c3fd584616f2caa42dad71b035fde9c95f6
Author: juga0 <juga at riseup.net>
Date:   Thu Aug 2 17:46:29 2018 +0000

    Update docstring, it does not create user conf
---
 sbws/util/config.py | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/sbws/util/config.py b/sbws/util/config.py
index d6bb115..9532bdc 100644
--- a/sbws/util/config.py
+++ b/sbws/util/config.py
@@ -48,9 +48,8 @@ def _get_default_config():
 
 def _get_user_config(args, conf=None):
     """Get user configuration.
-    If a custom path is passed, search for user configuration there.
-    In any case, create a minimal user configuration in user configuration path
-    , in case it needs to be overwritten.
+    Search for user configuration in the default path or the path passed as
+    argument and extend the configuration if they are found.
     """
     if not conf:
         conf = ConfigParser(interpolation=ExtendedInterpolation(),





More information about the tor-commits mailing list