[or-cvs] r21259: {projects} Rename exe.z file as well, Google doesn't seem to like it (projects/gettor/lib/gettor)

kaner at seul.org kaner at seul.org
Fri Dec 18 21:20:23 UTC 2009


Author: kaner
Date: 2009-12-18 16:20:23 -0500 (Fri, 18 Dec 2009)
New Revision: 21259

Modified:
   projects/gettor/lib/gettor/packages.py
   projects/gettor/lib/gettor/utils.py
Log:
Rename exe.z file as well, Google doesn't seem to like it


Modified: projects/gettor/lib/gettor/packages.py
===================================================================
--- projects/gettor/lib/gettor/packages.py	2009-12-18 20:44:00 UTC (rev 21258)
+++ projects/gettor/lib/gettor/packages.py	2009-12-18 21:20:23 UTC (rev 21259)
@@ -226,7 +226,7 @@
                     except:
                         log.error("Could not rename exe file")
                 zipFileName = packSplitDir + "/" + splitfile + ".z"
-                if gettor.utils.hasExe(file):
+                if gettor.utils.hasExe(zipFileName):
                     try:
                         zipFileName = gettor.utils.renameExe(zipFileName)
                     except:

Modified: projects/gettor/lib/gettor/utils.py
===================================================================
--- projects/gettor/lib/gettor/utils.py	2009-12-18 20:44:00 UTC (rev 21258)
+++ projects/gettor/lib/gettor/utils.py	2009-12-18 21:20:23 UTC (rev 21259)
@@ -277,6 +277,7 @@
         return False
 
 def renameExe(filename):
+    log.info("Renaming exe..")
     if not os.access(filename, os.R_OK):
         log.error("Could not access file %s" % filename)
         raise OSError



More information about the tor-commits mailing list