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

[tor-commits] [chutney/master] TorNet: Fix format() usage in launch error message



commit d66c7540b4245f6de0b5b93229c4dd2a8b56d919
Author: teor <teor@xxxxxxxxxxxxxx>
Date:   Fri Jan 24 11:39:51 2020 +1000

    TorNet: Fix format() usage in launch error message
    
    Fix on 33041.
---
 lib/chutney/TorNet.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/chutney/TorNet.py b/lib/chutney/TorNet.py
index 7c7e8f1..47b8e84 100644
--- a/lib/chutney/TorNet.py
+++ b/lib/chutney/TorNet.py
@@ -212,8 +212,8 @@ def _warnMissingTor(tor_path, cmdline, tor_name="tor"):
        at tor_path while running cmdline. Suggest the appropriate
        environmental variable to set to resolve the issue.
     """
-    help_msg_fmt = ("Set the '{}' environment variable to the path of '{}'. " +
-                    "If using test-network.sh, set the 'TOR_DIR' " +
+    help_msg_fmt = ("Set the '{0}' environment variable to the path of " +
+                    "'{1}'. If using test-network.sh, set the 'TOR_DIR' " +
                     "environment variable to the directory containing '{1}'.")
     help_msg = ""
     if tor_name == "tor":

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