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

[or-cvs] r14438: Minor cleanup of useless old comments. (check/trunk/cgi-bin)



Author: ioerror
Date: 2008-04-23 22:10:01 -0400 (Wed, 23 Apr 2008)
New Revision: 14438

Modified:
   check/trunk/cgi-bin/index.py
Log:
Minor cleanup of useless old comments.


Modified: check/trunk/cgi-bin/index.py
===================================================================
--- check/trunk/cgi-bin/index.py	2008-04-24 01:53:14 UTC (rev 14437)
+++ check/trunk/cgi-bin/index.py	2008-04-24 02:10:01 UTC (rev 14438)
@@ -71,16 +71,13 @@
 # Now that we know everything we need, lets print the website
 def handler(req):
 
-    # We need to parse the client address (and eventually the port)
-    # We'll use this to contstruct the query
+    # Make a DNS request to the EL and decide what to tell the user
     UsingTor = isUsingTor(req.connection.remote_ip)
 
     # This is where we need to parse out lang:
     # req.subprocess_env['QUERY_STRING'] = fa-IR
     # Then, depending on what we have, we should compare it to a tuple
 
-    # Here's where we'll make the query and save the result
-
     req.send_http_header()
     req.content_type = 'text/html ;charset=utf-8'
 
@@ -198,9 +195,4 @@
     req.write('</html>')
 
     # We'll i18n the output to make this cleaner
-    # lang=XX is what we need to parse
-    # For testing, we will support one lang option: ?lang=fa-IR
-    # We'll implement this as a check against a tuple
-    #req.write(req.subprocess_env['QUERY_STRING'] + "<br>\n")
-
     return apache.OK