瀏覽代碼

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 年之前
父節點
當前提交
cbc7883fcd
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      contrib/exitlist

+ 4 - 4
contrib/exitlist

@@ -2,22 +2,22 @@
 # Copyright 2005-2006 Nick Mathewson
 # 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
  that accept connections to given addreses.
 
  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):
 
-    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
 # only print the IPs of the servers that accept any the listed