Browse Source

don't try to run python2.2 explicitly, just python.

nick says all the people with obsolete pythons are unreal.


svn:r6318
Roger Dingledine 19 years ago
parent
commit
cbc7883fcd
1 changed files with 4 additions and 4 deletions
  1. 4 4
      contrib/exitlist

+ 4 - 4
contrib/exitlist

@@ -2,22 +2,22 @@
 # Copyright 2005-2006 Nick Mathewson
 # Copyright 2005-2006 Nick Mathewson
 # See the LICENSE file in the Tor distribution for licensing information.
 # See the LICENSE file in the Tor distribution for licensing information.
 
 
+# Requires Python 2.2 or later.
+
 """
 """
  exitlist -- Given a Tor directory on stdin, lists the Tor servers
  exitlist -- Given a Tor directory on stdin, lists the Tor servers
  that accept connections to given addreses.
  that accept connections to given addreses.
 
 
  example usage (Tor 0.1.0.x and earlier):
  example usage (Tor 0.1.0.x and earlier):
 
 
-    python2.2 exitlist < ~/.tor/cached-directory
+    python exitlist < ~/.tor/cached-directory
 
 
  example usage (Tor 0.1.1.10-alpha and later):
  example usage (Tor 0.1.1.10-alpha and later):
 
 
-    cat ~/.tor/cached-routers* | python2.2 exitlist
+    cat ~/.tor/cached-routers* | python exitlist
 
 
 """
 """
 
 
-# Requires Python 2.2 or later.
-
 #
 #
 # Change this to True if you want more verbose output.  By default, we
 # Change this to True if you want more verbose output.  By default, we
 # only print the IPs of the servers that accept any the listed
 # only print the IPs of the servers that accept any the listed