[cig-commits] r15755 - doc/geodynamics.org/benchmarks/trunk

luis at geodynamics.org luis at geodynamics.org
Mon Oct 5 15:40:11 PDT 2009


Author: luis
Date: 2009-10-05 15:40:10 -0700 (Mon, 05 Oct 2009)
New Revision: 15755

Modified:
   doc/geodynamics.org/benchmarks/trunk/upload.py
Log:
Fixes to upload.py

Modified: doc/geodynamics.org/benchmarks/trunk/upload.py
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/upload.py	2009-10-05 22:40:03 UTC (rev 15754)
+++ doc/geodynamics.org/benchmarks/trunk/upload.py	2009-10-05 22:40:10 UTC (rev 15755)
@@ -112,6 +112,7 @@
 
     if filename not in db:
         db[filename] = current_md5
+        return True
 
     old_md5 = db[filename]
 
@@ -168,7 +169,7 @@
     login(p)
 
     # give some feedback while the file uploads
-    print "Uploaded %s" % url
+    print "Uploaded %s" % target_url
 
     # now that we've uploaded the file, we can update our database
     # with the current hash (replacing the old hash)



More information about the CIG-COMMITS mailing list