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

luis at geodynamics.org luis at geodynamics.org
Fri Oct 23 17:18:17 PDT 2009


Author: luis
Date: 2009-10-23 17:18:16 -0700 (Fri, 23 Oct 2009)
New Revision: 15869

Modified:
   doc/geodynamics.org/benchmarks/trunk/download.py
Log:
Updated download.py

Do not overwrite local header files.

Modified: doc/geodynamics.org/benchmarks/trunk/download.py
===================================================================
--- doc/geodynamics.org/benchmarks/trunk/download.py	2009-10-23 04:06:00 UTC (rev 15868)
+++ doc/geodynamics.org/benchmarks/trunk/download.py	2009-10-24 00:18:16 UTC (rev 15869)
@@ -33,14 +33,6 @@
         print "...writing %s" % latest_header_filename
         writefile(latest_header_filename, header)
 
-        # XXX: For now, always copy latest_header_filename into current header.
-        # This effectively means our local copy of the header file is always
-        # overwritten by the site copy. The implication is that all edits to
-        # the page metadata will need to be done at the website. Do we even
-        # want to do this locally? Presumably the timestamp information would
-        # change...
-        shutil.copyfile(latest_header_filename, headername(filename))
-
         print "...writing %s" % latest_filename
         writefile(latest_filename, content.replace('\r', ''))
 



More information about the CIG-COMMITS mailing list