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

[tor-commits] [torflow/master] Suggest add_torctl.sh if torctl is missing.



commit 3558511832cb68f8b8cf1202a2879785e045a866
Author: Mike Perry <mikeperry-git@xxxxxxxxxx>
Date:   Fri Sep 30 17:19:40 2011 -0700

    Suggest add_torctl.sh if torctl is missing.
---
 NetworkScanners/ExitAuthority/libsoat.py        |    2 +-
 NetworkScanners/ExitAuthority/snakeinspector.py |    2 +-
 NetworkScanners/ExitAuthority/soat.py           |    2 +-
 NetworkScanners/ExitAuthority/soat_config.py    |    2 +-
 NetworkScanners/ExitAuthority/soatstats.py      |    2 +-
 5 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/NetworkScanners/ExitAuthority/libsoat.py b/NetworkScanners/ExitAuthority/libsoat.py
index 153d80f..8a62383 100644
--- a/NetworkScanners/ExitAuthority/libsoat.py
+++ b/NetworkScanners/ExitAuthority/libsoat.py
@@ -28,7 +28,7 @@ try:
     from TorCtl.TorUtil import *
 except ImportError:
     from os import getcwd, path
-    print "TorCtl not found in %s" % path.abspath(getcwd()+'../..')
+    print "TorCtl not found in %s. Did you run torflow.git/add_torctl.sh?" % path.abspath(getcwd()+'../..')
     print "Exiting..."
     exit()   
 
diff --git a/NetworkScanners/ExitAuthority/snakeinspector.py b/NetworkScanners/ExitAuthority/snakeinspector.py
index 45250b6..f34826e 100755
--- a/NetworkScanners/ExitAuthority/snakeinspector.py
+++ b/NetworkScanners/ExitAuthority/snakeinspector.py
@@ -26,7 +26,7 @@ try:
     import TorCtl.TorUtil
 except ImportError:
     from os import getcwd, path
-    print "TorCtl not found in %s" % path.abspath(getcwd()+'../..')
+    print "TorCtl not found in %s. Did you run torflow.git/add_torctl.sh?" % path.abspath(getcwd()+'../..')
     print "Exiting..."
     exit()  
 
diff --git a/NetworkScanners/ExitAuthority/soat.py b/NetworkScanners/ExitAuthority/soat.py
index 2355dea..bafe43f 100755
--- a/NetworkScanners/ExitAuthority/soat.py
+++ b/NetworkScanners/ExitAuthority/soat.py
@@ -83,7 +83,7 @@ try:
     from TorCtl.TorUtil import plog
 except ImportError:
     from os import getcwd, path
-    print "TorCtl not found in %s" % path.abspath(getcwd()+'../..')
+    print "TorCtl not found in %s. Did you run torflow.git/add_torctl.sh?" % path.abspath(getcwd()+'../..')
     print "Exiting..."
     exit()  
 
diff --git a/NetworkScanners/ExitAuthority/soat_config.py b/NetworkScanners/ExitAuthority/soat_config.py
index fa36658..f7a1fc8 100644
--- a/NetworkScanners/ExitAuthority/soat_config.py
+++ b/NetworkScanners/ExitAuthority/soat_config.py
@@ -12,7 +12,7 @@ try:
     from TorCtl.PathSupport import *
 except ImportError:
     from os import getcwd, path
-    print "TorCtl not found in %s" % path.abspath(getcwd()+'../..')
+    print "TorCtl not found in %s. Did you run torflow.git/add_torctl.sh?" % path.abspath(getcwd()+'../..')
     print "Exiting..."
     exit() 
 
diff --git a/NetworkScanners/ExitAuthority/soatstats.py b/NetworkScanners/ExitAuthority/soatstats.py
index ab790e5..a4b42cb 100755
--- a/NetworkScanners/ExitAuthority/soatstats.py
+++ b/NetworkScanners/ExitAuthority/soatstats.py
@@ -20,7 +20,7 @@ try:
     from TorCtl.TorUtil import *
 except ImportError:
     from os import getcwd, path
-    print "TorCtl not found in %s" % path.abspath(getcwd()+'../..')
+    print "TorCtl not found in %s. Did you run torflow.git/add_torctl.sh?" % path.abspath(getcwd()+'../..')
     print "Exiting..."
     exit()   
 

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