[or-cvs] r14818: Add a date to the cache file returned to the user. Suggested (check/trunk/cgi-bin)

ioerror at seul.org ioerror at seul.org
Thu May 29 10:19:07 UTC 2008


Author: ioerror
Date: 2008-05-29 06:19:07 -0400 (Thu, 29 May 2008)
New Revision: 14818

Modified:
   check/trunk/cgi-bin/TorBulkExitList.py
Log:
Add a date to the cache file returned to the user. Suggested by sjm.


Modified: check/trunk/cgi-bin/TorBulkExitList.py
===================================================================
--- check/trunk/cgi-bin/TorBulkExitList.py	2008-05-29 10:18:07 UTC (rev 14817)
+++ check/trunk/cgi-bin/TorBulkExitList.py	2008-05-29 10:19:07 UTC (rev 14818)
@@ -210,6 +210,10 @@
         " on Port " + RemotePort + " #\n")
         req.write("# You can update this list by visiting " + \
         "https://check.torproject.org/cgi-bin/TorBulkExitList.py?ip=%s #\n" % RemoteServerIP)
+
+        dateOfAccess = time.asctime()
+        req.write("# This file was fresh as of %s #\n" % dateOfAccess)
+
         for exit in TestedExits:
             req.write(str(exit))
 



More information about the tor-commits mailing list